parent
be55d9117a
commit
7596d7e2da
|
@ -6,8 +6,8 @@ import (
|
|||
"code.tnxs.net/taxnexus/lib/api/crm/crm_models"
|
||||
)
|
||||
|
||||
// AccountChannelWrapper wraps the object with workflow params
|
||||
type AccountChannelWrapper struct {
|
||||
// AccountActivityWrapper wraps the object with workflow params
|
||||
type AccountActivityWrapper struct {
|
||||
Obj crm_models.Account
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"code.tnxs.net/taxnexus/lib/api/ledger/ledger_models"
|
||||
)
|
||||
|
||||
// AccountingRuleChannelWrapper wraps the object with workflow params
|
||||
type AccountingRuleChannelWrapper struct {
|
||||
// AccountingRuleActivityWrapper wraps the object with workflow params
|
||||
type AccountingRuleActivityWrapper struct {
|
||||
Obj ledger_models.AccountingRule
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"code.tnxs.net/taxnexus/lib/api/ledger/ledger_models"
|
||||
)
|
||||
|
||||
// AccountingRulesetChannelWrapper wraps the object with workflow params
|
||||
type AccountingRulesetChannelWrapper struct {
|
||||
// AccountingRulesetActivityWrapper wraps the object with workflow params
|
||||
type AccountingRulesetActivityWrapper struct {
|
||||
Obj ledger_models.AccountingRuleset
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"code.tnxs.net/taxnexus/lib/api/ledger/ledger_models"
|
||||
)
|
||||
|
||||
// AccountingRulesetItemChannelWrapper wraps the object with workflow params
|
||||
type AccountingRulesetItemChannelWrapper struct {
|
||||
// AccountingRulesetItemActivityWrapper wraps the object with workflow params
|
||||
type AccountingRulesetItemActivityWrapper struct {
|
||||
Obj ledger_models.AccountingRulesetItem
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"code.tnxs.net/taxnexus/lib/api/regs/regs_models"
|
||||
)
|
||||
|
||||
// BackendChannelWrapper wraps the object with workflow params
|
||||
type BackendChannelWrapper struct {
|
||||
// BackendActivityWrapper wraps the object with workflow params
|
||||
type BackendActivityWrapper struct {
|
||||
Obj regs_models.Backend
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"code.tnxs.net/taxnexus/lib/api/ops/ops_models"
|
||||
)
|
||||
|
||||
// CashReceiptChannelWrapper wraps the object with workflow params
|
||||
type CashReceiptChannelWrapper struct {
|
||||
// CashReceiptActivityWrapper wraps the object with workflow params
|
||||
type CashReceiptActivityWrapper struct {
|
||||
Obj ops_models.CashReceipt
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"code.tnxs.net/taxnexus/lib/api/ops/ops_models"
|
||||
)
|
||||
|
||||
// ChargeChannelWrapper wraps the object with workflow params
|
||||
type ChargeChannelWrapper struct {
|
||||
// ChargeActivityWrapper wraps the object with workflow params
|
||||
type ChargeActivityWrapper struct {
|
||||
Obj ops_models.Charge
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"code.tnxs.net/taxnexus/lib/api/devops/devops_models"
|
||||
)
|
||||
|
||||
// ClusterChannelWrapper wraps the object with workflow params
|
||||
type ClusterChannelWrapper struct {
|
||||
// ClusterActivityWrapper wraps the object with workflow params
|
||||
type ClusterActivityWrapper struct {
|
||||
Obj devops_models.Cluster
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"code.tnxs.net/taxnexus/lib/api/crm/crm_models"
|
||||
)
|
||||
|
||||
// CompanyChannelWrapper wraps the object with workflow params
|
||||
type CompanyChannelWrapper struct {
|
||||
// CompanyActivityWrapper wraps the object with workflow params
|
||||
type CompanyActivityWrapper struct {
|
||||
Obj crm_models.Company
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -9,8 +9,8 @@ import (
|
|||
// NewContactActivity is an activity identifier
|
||||
const NewContactActivity = "NEW_CONTACT_ACTIVITY"
|
||||
|
||||
// ContactChannelWrapper wraps the object with workflow params
|
||||
type ContactChannelWrapper struct {
|
||||
// ContactActivityWrapper wraps the object with workflow params
|
||||
type ContactActivityWrapper struct {
|
||||
Obj crm_models.Contact
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"code.tnxs.net/taxnexus/lib/api/geo/geo_models"
|
||||
)
|
||||
|
||||
// CoordinateBasicChannelWrapper wraps the object with workflow params
|
||||
type CoordinateBasicChannelWrapper struct {
|
||||
// CoordinateBasicActivityWrapper wraps the object with workflow params
|
||||
type CoordinateBasicActivityWrapper struct {
|
||||
Obj geo_models.CoordinateBasic
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
@ -29,8 +29,8 @@ type CoordinateBasic struct {
|
|||
TaxTypes []*string
|
||||
}
|
||||
|
||||
// CoordinateChannelWrapper wraps the object with workflow params
|
||||
type CoordinateChannelWrapper struct {
|
||||
// CoordinateActivityWrapper wraps the object with workflow params
|
||||
type CoordinateActivityWrapper struct {
|
||||
Obj geo_models.Coordinate
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"code.tnxs.net/taxnexus/lib/api/geo/geo_models"
|
||||
)
|
||||
|
||||
// CountryChannelWrapper wraps the object with workflow params
|
||||
type CountryChannelWrapper struct {
|
||||
// CountryActivityWrapper wraps the object with workflow params
|
||||
type CountryActivityWrapper struct {
|
||||
Obj geo_models.Country
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"code.tnxs.net/taxnexus/lib/api/geo/geo_models"
|
||||
)
|
||||
|
||||
// CountyChannelWrapper wraps the object with workflow params
|
||||
type CountyChannelWrapper struct {
|
||||
// CountyActivityWrapper wraps the object with workflow params
|
||||
type CountyActivityWrapper struct {
|
||||
Obj geo_models.County
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"code.tnxs.net/taxnexus/lib/api/devops/devops_models"
|
||||
)
|
||||
|
||||
// DatabaseChannelWrapper wraps the object with workflow params
|
||||
type DatabaseChannelWrapper struct {
|
||||
// DatabaseActivityWrapper wraps the object with workflow params
|
||||
type DatabaseActivityWrapper struct {
|
||||
Obj devops_models.Database
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -2,8 +2,8 @@ package app
|
|||
|
||||
import "code.tnxs.net/taxnexus/lib/api/geo/geo_models"
|
||||
|
||||
// DomainChannelWrapper wraps the object with workflow params
|
||||
type DomainChannelWrapper struct {
|
||||
// DomainActivityWrapper wraps the object with workflow params
|
||||
type DomainActivityWrapper struct {
|
||||
Obj geo_models.Domain
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"code.tnxs.net/taxnexus/lib/api/ops/ops_models"
|
||||
)
|
||||
|
||||
// EftChannelWrapper wraps the object with workflow params
|
||||
type EftChannelWrapper struct {
|
||||
// EftActivityWrapper wraps the object with workflow params
|
||||
type EftActivityWrapper struct {
|
||||
Obj ops_models.Eft
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"code.tnxs.net/taxnexus/lib/api/ops/ops_models"
|
||||
)
|
||||
|
||||
// EftItemChannelWrapper wraps the object with workflow params
|
||||
type EftItemChannelWrapper struct {
|
||||
// EftItemActivityWrapper wraps the object with workflow params
|
||||
type EftItemActivityWrapper struct {
|
||||
Obj ops_models.EftItem
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"code.tnxs.net/taxnexus/lib/api/workflow/workflow_models"
|
||||
)
|
||||
|
||||
// EmailMessageChannelWrapper wraps the object with workflow params
|
||||
type EmailMessageChannelWrapper struct {
|
||||
// EmailMessageActivityWrapper wraps the object with workflow params
|
||||
type EmailMessageActivityWrapper struct {
|
||||
Obj workflow_models.EmailMessage
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -4,8 +4,8 @@ import (
|
|||
"database/sql"
|
||||
)
|
||||
|
||||
// EmailTemplateChannelWrapper wraps the object with workflow params
|
||||
type EmailTemplateChannelWrapper struct {
|
||||
// EmailTemplateActivityWrapper wraps the object with workflow params
|
||||
type EmailTemplateActivityWrapper struct {
|
||||
// Obj workflow_models.EmailTemplate
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"code.tnxs.net/taxnexus/lib/api/regs/regs_models"
|
||||
)
|
||||
|
||||
// FilingChannelWrapper wraps the object with workflow params
|
||||
type FilingChannelWrapper struct {
|
||||
// FilingActivityWrapper wraps the object with workflow params
|
||||
type FilingActivityWrapper struct {
|
||||
Obj regs_models.Filing
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"code.tnxs.net/taxnexus/lib/api/regs/regs_models"
|
||||
)
|
||||
|
||||
// FilingScheduleItemChannelWrapper wraps the object with workflow params
|
||||
type FilingScheduleItemChannelWrapper struct {
|
||||
// FilingScheduleItemActivityWrapper wraps the object with workflow params
|
||||
type FilingScheduleItemActivityWrapper struct {
|
||||
Obj regs_models.FilingScheduleItem
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"code.tnxs.net/taxnexus/lib/api/regs/regs_models"
|
||||
)
|
||||
|
||||
// FilingTypeChannelWrapper wraps the object with workflow params
|
||||
type FilingTypeChannelWrapper struct {
|
||||
// FilingTypeActivityWrapper wraps the object with workflow params
|
||||
type FilingTypeActivityWrapper struct {
|
||||
Obj regs_models.FilingType
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"code.tnxs.net/taxnexus/lib/api/regs/regs_models"
|
||||
)
|
||||
|
||||
// FilingTypeInstanceChannelWrapper wraps the object with workflow params
|
||||
type FilingTypeInstanceChannelWrapper struct {
|
||||
// FilingTypeInstanceActivityWrapper wraps the object with workflow params
|
||||
type FilingTypeInstanceActivityWrapper struct {
|
||||
Obj regs_models.FilingTypeInstance
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -4,8 +4,8 @@ import (
|
|||
"database/sql"
|
||||
)
|
||||
|
||||
// FolderChannelWrapper wraps the object with workflow params
|
||||
type FolderChannelWrapper struct {
|
||||
// FolderActivityWrapper wraps the object with workflow params
|
||||
type FolderActivityWrapper struct {
|
||||
// Obj workflow_models.Folder
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"code.tnxs.net/taxnexus/lib/api/ledger/ledger_models"
|
||||
)
|
||||
|
||||
// GlAccountChannelWrapper wraps the object with workflow params
|
||||
type GlAccountChannelWrapper struct {
|
||||
// GlAccountActivityWrapper wraps the object with workflow params
|
||||
type GlAccountActivityWrapper struct {
|
||||
Obj ledger_models.GlAccount
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"code.tnxs.net/taxnexus/lib/api/ledger/ledger_models"
|
||||
)
|
||||
|
||||
// GlBalanceChannelWrapper wraps the object with workflow params
|
||||
type GlBalanceChannelWrapper struct {
|
||||
// GlBalanceActivityWrapper wraps the object with workflow params
|
||||
type GlBalanceActivityWrapper struct {
|
||||
Obj ledger_models.GlBalance
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"code.tnxs.net/taxnexus/lib/api/devops/devops_models"
|
||||
)
|
||||
|
||||
// IngestChannelWrapper wraps the object with workflow params
|
||||
type IngestChannelWrapper struct {
|
||||
// IngestActivityWrapper wraps the object with workflow params
|
||||
type IngestActivityWrapper struct {
|
||||
Obj devops_models.Ingest
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"code.tnxs.net/taxnexus/lib/api/ops/ops_models"
|
||||
)
|
||||
|
||||
// InvoiceChannelWrapper wraps the object with workflow params
|
||||
type InvoiceChannelWrapper struct {
|
||||
// InvoiceActivityWrapper wraps the object with workflow params
|
||||
type InvoiceActivityWrapper struct {
|
||||
Obj ops_models.Invoice
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"code.tnxs.net/taxnexus/lib/api/ops/ops_models"
|
||||
)
|
||||
|
||||
// InvoiceItemChannelWrapper wraps the object with workflow params
|
||||
type InvoiceItemChannelWrapper struct {
|
||||
// InvoiceItemActivityWrapper wraps the object with workflow params
|
||||
type InvoiceItemActivityWrapper struct {
|
||||
Obj ops_models.InvoiceItem
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"code.tnxs.net/taxnexus/lib/api/devops/devops_models"
|
||||
)
|
||||
|
||||
// JobChannelWrapper wraps the object with workflow params
|
||||
type JobChannelWrapper struct {
|
||||
// JobActivityWrapper wraps the object with workflow params
|
||||
type JobActivityWrapper struct {
|
||||
Obj devops_models.Job
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"code.tnxs.net/taxnexus/lib/api/ledger/ledger_models"
|
||||
)
|
||||
|
||||
// JournalEntryChannelWrapper wraps the object with workflow params
|
||||
type JournalEntryChannelWrapper struct {
|
||||
// JournalEntryActivityWrapper wraps the object with workflow params
|
||||
type JournalEntryActivityWrapper struct {
|
||||
Obj ledger_models.JournalEntry
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"code.tnxs.net/taxnexus/lib/api/ledger/ledger_models"
|
||||
)
|
||||
|
||||
// JournalItemChannelWrapper wraps the object with workflow params
|
||||
type JournalItemChannelWrapper struct {
|
||||
// JournalItemActivityWrapper wraps the object with workflow params
|
||||
type JournalItemActivityWrapper struct {
|
||||
Obj ledger_models.JournalItem
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"code.tnxs.net/taxnexus/lib/api/crm/crm_models"
|
||||
)
|
||||
|
||||
// LeadChannelWrapper wraps the object with workflow params
|
||||
type LeadChannelWrapper struct {
|
||||
// LeadActivityWrapper wraps the object with workflow params
|
||||
type LeadActivityWrapper struct {
|
||||
Obj crm_models.Lead
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"code.tnxs.net/taxnexus/lib/api/regs/regs_models"
|
||||
)
|
||||
|
||||
// LicenseChannelWrapper wraps the object with workflow params
|
||||
type LicenseChannelWrapper struct {
|
||||
// LicenseActivityWrapper wraps the object with workflow params
|
||||
type LicenseActivityWrapper struct {
|
||||
Obj regs_models.License
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"code.tnxs.net/taxnexus/lib/api/regs/regs_models"
|
||||
)
|
||||
|
||||
// LicenseTypeChannelWrapper wraps the object with workflow params
|
||||
type LicenseTypeChannelWrapper struct {
|
||||
// LicenseTypeActivityWrapper wraps the object with workflow params
|
||||
type LicenseTypeActivityWrapper struct {
|
||||
Obj regs_models.LicenseType
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
@ -39,8 +39,8 @@ type LicenseType struct {
|
|||
Tier string
|
||||
}
|
||||
|
||||
// GeoLicenseTypeInstanceChannelWrapper wraps the object with workflow params
|
||||
type GeoLicenseTypeInstanceChannelWrapper struct {
|
||||
// GeoLicenseTypeInstanceActivityWrapper wraps the object with workflow params
|
||||
type GeoLicenseTypeInstanceActivityWrapper struct {
|
||||
Obj regs_models.GeoLicenseTypeInstance
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
@ -64,8 +64,8 @@ type GeoLicenseTypeInstance struct {
|
|||
StateID string
|
||||
}
|
||||
|
||||
// DomainLicenseTypeInstanceChannelWrapper wraps the object with workflow params
|
||||
type DomainLicenseTypeInstanceChannelWrapper struct {
|
||||
// DomainLicenseTypeInstanceActivityWrapper wraps the object with workflow params
|
||||
type DomainLicenseTypeInstanceActivityWrapper struct {
|
||||
// Obj regs_models.DomainLicenseTypeInstance
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -2,8 +2,8 @@ package app
|
|||
|
||||
import "database/sql"
|
||||
|
||||
// LogChannelWrapper wraps the object with workflow params
|
||||
type LogChannelWrapper struct {
|
||||
// LogActivityWrapper wraps the object with workflow params
|
||||
type LogActivityWrapper struct {
|
||||
// Obj devops_models.AppLog
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"code.tnxs.net/taxnexus/lib/api/regs/regs_models"
|
||||
)
|
||||
|
||||
// NotebookChannelWrapper wraps the object with workflow params
|
||||
type NotebookChannelWrapper struct {
|
||||
// NotebookActivityWrapper wraps the object with workflow params
|
||||
type NotebookActivityWrapper struct {
|
||||
Obj regs_models.Notebook
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"code.tnxs.net/taxnexus/lib/api/regs/regs_models"
|
||||
)
|
||||
|
||||
// NotebookItemChannelWrapper wraps the object with workflow params
|
||||
type NotebookItemChannelWrapper struct {
|
||||
// NotebookItemActivityWrapper wraps the object with workflow params
|
||||
type NotebookItemActivityWrapper struct {
|
||||
Obj regs_models.NotebookItem
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"code.tnxs.net/taxnexus/lib/api/ops/ops_models"
|
||||
)
|
||||
|
||||
// OrderChannelWrapper wraps the object with workflow params
|
||||
type OrderChannelWrapper struct {
|
||||
// OrderActivityWrapper wraps the object with workflow params
|
||||
type OrderActivityWrapper struct {
|
||||
Obj ops_models.Order
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"code.tnxs.net/taxnexus/lib/api/ops/ops_models"
|
||||
)
|
||||
|
||||
// OrderItemChannelWrapper wraps the object with workflow params
|
||||
type OrderItemChannelWrapper struct {
|
||||
// OrderItemActivityWrapper wraps the object with workflow params
|
||||
type OrderItemActivityWrapper struct {
|
||||
Obj ops_models.OrderItem
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -2,8 +2,8 @@ package app
|
|||
|
||||
import "code.tnxs.net/taxnexus/lib/api/workflow/workflow_models"
|
||||
|
||||
// OutgoingEmailMessageChannelWrapper wraps the object with workflow params
|
||||
type OutgoingEmailMessageChannelWrapper struct {
|
||||
// OutgoingEmailMessageActivityWrapper wraps the object with workflow params
|
||||
type OutgoingEmailMessageActivityWrapper struct {
|
||||
Obj workflow_models.OutgoingEmailMessage
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package app
|
||||
|
||||
// OutgoingEmailMessageReceiptChannelWrapper wraps the object with workflow params
|
||||
type OutgoingEmailMessageReceiptChannelWrapper struct {
|
||||
// OutgoingEmailMessageReceiptActivityWrapper wraps the object with workflow params
|
||||
type OutgoingEmailMessageReceiptActivityWrapper struct {
|
||||
// Obj workflow_models.OutgoingEmailMessageReceipt
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"code.tnxs.net/taxnexus/lib/api/ops/ops_models"
|
||||
)
|
||||
|
||||
// PaymentMethodChannelWrapper wraps the object with workflow params
|
||||
type PaymentMethodChannelWrapper struct {
|
||||
// PaymentMethodActivityWrapper wraps the object with workflow params
|
||||
type PaymentMethodActivityWrapper struct {
|
||||
Obj ops_models.PaymentMethod
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -2,8 +2,8 @@ package app
|
|||
|
||||
import "database/sql"
|
||||
|
||||
// PDFChannelWrapper wraps the object with workflow params
|
||||
type PDFChannelWrapper struct {
|
||||
// PDFActivityWrapper wraps the object with workflow params
|
||||
type PDFActivityWrapper struct {
|
||||
// Obj stash_models.Pdf
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"code.tnxs.net/taxnexus/lib/api/ledger/ledger_models"
|
||||
)
|
||||
|
||||
// PeriodChannelWrapper wraps the object with workflow params
|
||||
type PeriodChannelWrapper struct {
|
||||
// PeriodActivityWrapper wraps the object with workflow params
|
||||
type PeriodActivityWrapper struct {
|
||||
Obj ledger_models.Period
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"code.tnxs.net/taxnexus/lib/api/geo/geo_models"
|
||||
)
|
||||
|
||||
// PlaceChannelWrapper wraps the object with workflow params
|
||||
type PlaceChannelWrapper struct {
|
||||
// PlaceActivityWrapper wraps the object with workflow params
|
||||
type PlaceActivityWrapper struct {
|
||||
Obj geo_models.Place
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"code.tnxs.net/taxnexus/lib/api/ops/ops_models"
|
||||
)
|
||||
|
||||
// PurchaseOrderChannelWrapper wraps the object with workflow params
|
||||
type PurchaseOrderChannelWrapper struct {
|
||||
// PurchaseOrderActivityWrapper wraps the object with workflow params
|
||||
type PurchaseOrderActivityWrapper struct {
|
||||
Obj ops_models.PurchaseOrder
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"code.tnxs.net/taxnexus/lib/api/ops/ops_models"
|
||||
)
|
||||
|
||||
// PurchaseOrderItemChannelWrapper wraps the object with workflow params
|
||||
type PurchaseOrderItemChannelWrapper struct {
|
||||
// PurchaseOrderItemActivityWrapper wraps the object with workflow params
|
||||
type PurchaseOrderItemActivityWrapper struct {
|
||||
Obj ops_models.PurchaseOrderItem
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"code.tnxs.net/taxnexus/lib/api/ops/ops_models"
|
||||
)
|
||||
|
||||
// ProductChannelWrapper wraps the object with workflow params
|
||||
type ProductChannelWrapper struct {
|
||||
// ProductActivityWrapper wraps the object with workflow params
|
||||
type ProductActivityWrapper struct {
|
||||
Obj ops_models.Product
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"code.tnxs.net/taxnexus/lib/api/ops/ops_models"
|
||||
)
|
||||
|
||||
// QuoteChannelWrapper wraps the object with workflow params
|
||||
type QuoteChannelWrapper struct {
|
||||
// QuoteActivityWrapper wraps the object with workflow params
|
||||
type QuoteActivityWrapper struct {
|
||||
Obj ops_models.Quote
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"code.tnxs.net/taxnexus/lib/api/ops/ops_models"
|
||||
)
|
||||
|
||||
// QuoteItemChannelWrapper wraps the object with workflow params
|
||||
type QuoteItemChannelWrapper struct {
|
||||
// QuoteItemActivityWrapper wraps the object with workflow params
|
||||
type QuoteItemActivityWrapper struct {
|
||||
Obj ops_models.QuoteItem
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -5,8 +5,8 @@ import (
|
|||
"github.com/go-sql-driver/mysql"
|
||||
)
|
||||
|
||||
// RatingengineChannelWrapper wraps the object with workflow params
|
||||
type RatingengineChannelWrapper struct {
|
||||
// RatingengineActivityWrapper wraps the object with workflow params
|
||||
type RatingengineActivityWrapper struct {
|
||||
Obj regs_models.RatingEngine
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -5,8 +5,8 @@ import (
|
|||
"github.com/go-sql-driver/mysql"
|
||||
)
|
||||
|
||||
// RatingEngineItemChannelWrapper wraps the object with workflow params
|
||||
type RatingEngineItemChannelWrapper struct {
|
||||
// RatingEngineItemActivityWrapper wraps the object with workflow params
|
||||
type RatingEngineItemActivityWrapper struct {
|
||||
Obj regs_models.RatingEngineItem
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"code.tnxs.net/taxnexus/lib/api/devops/devops_models"
|
||||
)
|
||||
|
||||
// RoleChannelWrapper wraps the object with workflow params
|
||||
type RoleChannelWrapper struct {
|
||||
// RoleActivityWrapper wraps the object with workflow params
|
||||
type RoleActivityWrapper struct {
|
||||
Obj devops_models.Role
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"code.tnxs.net/taxnexus/lib/api/devops/devops_models"
|
||||
)
|
||||
|
||||
// ServiceChannelWrapper wraps the object with workflow params
|
||||
type ServiceChannelWrapper struct {
|
||||
// ServiceActivityWrapper wraps the object with workflow params
|
||||
type ServiceActivityWrapper struct {
|
||||
Obj devops_models.Service
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"code.tnxs.net/taxnexus/lib/api/geo/geo_models"
|
||||
)
|
||||
|
||||
// StateChannelWrapper wraps the object with workflow params
|
||||
type StateChannelWrapper struct {
|
||||
// StateActivityWrapper wraps the object with workflow params
|
||||
type StateActivityWrapper struct {
|
||||
Obj geo_models.State
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"code.tnxs.net/taxnexus/lib/api/regs/regs_models"
|
||||
)
|
||||
|
||||
// SubmissionChannelWrapper wraps the object with workflow params
|
||||
type SubmissionChannelWrapper struct {
|
||||
// SubmissionActivityWrapper wraps the object with workflow params
|
||||
type SubmissionActivityWrapper struct {
|
||||
Obj regs_models.Submission
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -4,8 +4,8 @@ import (
|
|||
"database/sql"
|
||||
)
|
||||
|
||||
// TaskChannelWrapper wraps the object with workflow params
|
||||
type TaskChannelWrapper struct {
|
||||
// TaskActivityWrapper wraps the object with workflow params
|
||||
type TaskActivityWrapper struct {
|
||||
// Obj workflow_models.Task
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -4,8 +4,8 @@ import (
|
|||
"database/sql"
|
||||
)
|
||||
|
||||
// TaskRelationChannelWrapper wraps the object with workflow params
|
||||
type TaskRelationChannelWrapper struct {
|
||||
// TaskRelationActivityWrapper wraps the object with workflow params
|
||||
type TaskRelationActivityWrapper struct {
|
||||
// Obj workflow_models.TaskRelation
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -4,8 +4,8 @@ import (
|
|||
"database/sql"
|
||||
)
|
||||
|
||||
// TaskWhoRelationChannelWrapper wraps the object with workflow params
|
||||
type TaskWhoRelationChannelWrapper struct {
|
||||
// TaskWhoRelationActivityWrapper wraps the object with workflow params
|
||||
type TaskWhoRelationActivityWrapper struct {
|
||||
// Obj workflow_models.TaskWhoRelation
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"code.tnxs.net/taxnexus/lib/api/geo/geo_models"
|
||||
)
|
||||
|
||||
// TaxInstanceChannelWrapper wraps the object with workflow params
|
||||
type TaxInstanceChannelWrapper struct {
|
||||
// TaxInstanceActivityWrapper wraps the object with workflow params
|
||||
type TaxInstanceActivityWrapper struct {
|
||||
Obj geo_models.TaxInstance
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"code.tnxs.net/taxnexus/lib/api/geo/geo_models"
|
||||
)
|
||||
|
||||
// TaxnexusCodeChannelWrapper wraps the object with workflow params
|
||||
type TaxnexusCodeChannelWrapper struct {
|
||||
// TaxnexusCodeActivityWrapper wraps the object with workflow params
|
||||
type TaxnexusCodeActivityWrapper struct {
|
||||
Obj geo_models.TaxnexusCode
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -2,8 +2,8 @@ package app
|
|||
|
||||
import "code.tnxs.net/taxnexus/lib/api/geo/geo_models"
|
||||
|
||||
// TaxRateChannelWrapper wraps the object with workflow params
|
||||
type TaxRateChannelWrapper struct {
|
||||
// TaxRateActivityWrapper wraps the object with workflow params
|
||||
type TaxRateActivityWrapper struct {
|
||||
Obj geo_models.TaxRate
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"code.tnxs.net/taxnexus/lib/api/ops/ops_models"
|
||||
)
|
||||
|
||||
// TaxTransactionChannelWrapper wraps the object with workflow params
|
||||
type TaxTransactionChannelWrapper struct {
|
||||
// TaxTransactionActivityWrapper wraps the object with workflow params
|
||||
type TaxTransactionActivityWrapper struct {
|
||||
Obj ops_models.TaxTransaction
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"code.tnxs.net/taxnexus/lib/api/geo/geo_models"
|
||||
)
|
||||
|
||||
// TaxTypeChannelWrapper wraps the object with workflow params
|
||||
type TaxTypeChannelWrapper struct {
|
||||
// TaxTypeActivityWrapper wraps the object with workflow params
|
||||
type TaxTypeActivityWrapper struct {
|
||||
Obj geo_models.TaxType
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"code.tnxs.net/taxnexus/lib/api/regs/regs_models"
|
||||
)
|
||||
|
||||
// TaxTypeAccountChannelWrapper wraps the object with workflow params
|
||||
type TaxTypeAccountChannelWrapper struct {
|
||||
// TaxTypeAccountActivityWrapper wraps the object with workflow params
|
||||
type TaxTypeAccountActivityWrapper struct {
|
||||
Obj regs_models.TaxTypeAccount
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"code.tnxs.net/taxnexus/lib/api/devops/devops_models"
|
||||
)
|
||||
|
||||
// TemplateChannelWrapper wraps the object with workflow params
|
||||
type TemplateChannelWrapper struct {
|
||||
// TemplateActivityWrapper wraps the object with workflow params
|
||||
type TemplateActivityWrapper struct {
|
||||
Obj devops_models.Template
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"code.tnxs.net/taxnexus/lib/api/devops/devops_models"
|
||||
)
|
||||
|
||||
// TenantChannelWrapper wraps the object with workflow params
|
||||
type TenantChannelWrapper struct {
|
||||
// TenantActivityWrapper wraps the object with workflow params
|
||||
type TenantActivityWrapper struct {
|
||||
Obj devops_models.Tenant
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -2,8 +2,8 @@ package app
|
|||
|
||||
import "code.tnxs.net/taxnexus/lib/api/devops/devops_models"
|
||||
|
||||
// TenantUserChannelWrapper wraps the object with workflow params
|
||||
type TenantUserChannelWrapper struct {
|
||||
// TenantUserActivityWrapper wraps the object with workflow params
|
||||
type TenantUserActivityWrapper struct {
|
||||
Obj devops_models.TenantUser
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -2,8 +2,8 @@ package app
|
|||
|
||||
import "code.tnxs.net/taxnexus/lib/api/ops/ops_models"
|
||||
|
||||
// TotalChannelWrapper wraps the object with workflow params
|
||||
type TotalChannelWrapper struct {
|
||||
// TotalActivityWrapper wraps the object with workflow params
|
||||
type TotalActivityWrapper struct {
|
||||
Obj ops_models.Total
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -2,8 +2,8 @@ package app
|
|||
|
||||
import "code.tnxs.net/taxnexus/lib/api/ops/ops_models"
|
||||
|
||||
// TotalItemChannelWrapper wraps the object with workflow params
|
||||
type TotalItemChannelWrapper struct {
|
||||
// TotalItemActivityWrapper wraps the object with workflow params
|
||||
type TotalItemActivityWrapper struct {
|
||||
Obj ops_models.TotalItem
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -2,8 +2,8 @@ package app
|
|||
|
||||
import "code.tnxs.net/taxnexus/lib/api/ops/ops_models"
|
||||
|
||||
// TotalTaxItemChannelWrapper wraps the object with workflow params
|
||||
type TotalTaxItemChannelWrapper struct {
|
||||
// TotalTaxItemActivityWrapper wraps the object with workflow params
|
||||
type TotalTaxItemActivityWrapper struct {
|
||||
Obj ops_models.TotalTaxItem
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"code.tnxs.net/taxnexus/lib/api/regs/regs_models"
|
||||
)
|
||||
|
||||
// TransactionItemChannelWrapper wraps the object with workflow params
|
||||
type TransactionItemChannelWrapper struct {
|
||||
// TransactionItemActivityWrapper wraps the object with workflow params
|
||||
type TransactionItemActivityWrapper struct {
|
||||
Obj regs_models.Transaction
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -5,8 +5,8 @@ import (
|
|||
"github.com/go-openapi/runtime"
|
||||
)
|
||||
|
||||
// UserChannelWrapper wraps the object with workflow params
|
||||
type UserChannelWrapper struct {
|
||||
// UserActivityWrapper wraps the object with workflow params
|
||||
type UserActivityWrapper struct {
|
||||
Obj devops_models.User
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -2,8 +2,8 @@ package app
|
|||
|
||||
import "code.tnxs.net/taxnexus/lib/api/devops/devops_models"
|
||||
|
||||
// UserRoleChannelWrapper wraps the object with workflow params
|
||||
type UserRoleChannelWrapper struct {
|
||||
// UserRoleActivityWrapper wraps the object with workflow params
|
||||
type UserRoleActivityWrapper struct {
|
||||
Obj devops_models.UserRole
|
||||
APIKey string
|
||||
SagaID string
|
||||
|
|
|
@ -12,7 +12,7 @@ import (
|
|||
const StoreAccountActivityID = "STORE_ACCOUNT_ACTIVITY"
|
||||
|
||||
// StoreAccountActivity posts a new account object to datastore
|
||||
func StoreAccountActivity(ctx workflow.Context, w app.AccountChannelWrapper) error { //nolint:gocritic // what we want
|
||||
func StoreAccountActivity(ctx workflow.Context, w app.AccountActivityWrapper) error { //nolint:gocritic // what we want
|
||||
postAccountParams := accounts.NewPostAccountsParamsWithTimeout(postTimeout)
|
||||
postAccountParams.AccountRequest = &crm_models.AccountRequest{
|
||||
Data: []*crm_models.Account{&w.Obj},
|
||||
|
|
|
@ -13,7 +13,7 @@ import (
|
|||
)
|
||||
|
||||
// StoreAuth0UserActivity creates a new Auth0 user tied to a User record
|
||||
func StoreAuth0UserActivity(ctx workflow.Context, w app.UserChannelWrapper) error { //nolint:gocritic // don't care
|
||||
func StoreAuth0UserActivity(ctx workflow.Context, w app.UserActivityWrapper) error { //nolint:gocritic // don't care
|
||||
auth0UserID, err := app.GetAuth0UserByEmail(w.Obj.Email)
|
||||
if err != nil {
|
||||
return err
|
||||
|
|
|
@ -15,7 +15,7 @@ import (
|
|||
)
|
||||
|
||||
// StoreContactActivity posts a new contact object to datastore
|
||||
func StoreContactActivity(ctx workflow.Context, w app.ContactChannelWrapper) error { //nolint:gocritic // what we want
|
||||
func StoreContactActivity(ctx workflow.Context, w app.ContactActivityWrapper) error { //nolint:gocritic // what we want
|
||||
postContactParams := contacts.NewPostContactsParamsWithTimeout(postTimeout)
|
||||
if w.Obj.Name == "" {
|
||||
w.Obj.Name = w.Obj.FirstName + " " + w.Obj.LastName
|
||||
|
@ -37,7 +37,7 @@ func StoreContactActivity(ctx workflow.Context, w app.ContactChannelWrapper) err
|
|||
}
|
||||
|
||||
// NotifyContactActivity sends an email to a new lead
|
||||
func NotifyContactActivity(ctx context.Context, w *app.ContactChannelWrapper) error {
|
||||
func NotifyContactActivity(ctx context.Context, w *app.ContactActivityWrapper) error {
|
||||
sugar.Info("workflow.notifyContact: 📥")
|
||||
var buf bytes.Buffer
|
||||
const textBody = `
|
||||
|
|
|
@ -15,7 +15,7 @@ import (
|
|||
)
|
||||
|
||||
// StoreLeadActivity posts a new lead object to datastore
|
||||
func StoreLeadActivity(ctx workflow.Context, w app.LeadChannelWrapper) error { //nolint:gocritic // what we want
|
||||
func StoreLeadActivity(ctx workflow.Context, w app.LeadActivityWrapper) error { //nolint:gocritic // what we want
|
||||
postLeadParams := leads.NewPostLeadsParamsWithTimeout(postTimeout)
|
||||
if w.Obj.Name == "" {
|
||||
w.Obj.Name = w.Obj.FirstName + " " + w.Obj.LastName
|
||||
|
@ -37,7 +37,7 @@ func StoreLeadActivity(ctx workflow.Context, w app.LeadChannelWrapper) error { /
|
|||
}
|
||||
|
||||
// NotifyLeadActivity sends an email to a new lead
|
||||
func NotifyLeadActivity(ctx context.Context, w *app.LeadChannelWrapper) error {
|
||||
func NotifyLeadActivity(ctx context.Context, w *app.LeadActivityWrapper) error {
|
||||
sugar.Info("workflow.notifyLead: 📥")
|
||||
var buf bytes.Buffer
|
||||
const textBody = `
|
||||
|
|
|
@ -38,7 +38,7 @@ func NewDeveloperWorkflow(ctx workflow.Context, w NewDeveloperWorkflowWrapper) e
|
|||
})
|
||||
err := workflow.ExecuteActivity(ctx,
|
||||
StoreContactActivity,
|
||||
app.ContactChannelWrapper{
|
||||
app.ContactActivityWrapper{
|
||||
Obj: crm_models.Contact{
|
||||
AccountID: "",
|
||||
AssistantName: "",
|
||||
|
@ -90,7 +90,7 @@ func NewDeveloperWorkflow(ctx workflow.Context, w NewDeveloperWorkflowWrapper) e
|
|||
}
|
||||
err = workflow.ExecuteActivity(ctx,
|
||||
StoreAccountActivity,
|
||||
&app.AccountChannelWrapper{
|
||||
&app.AccountActivityWrapper{
|
||||
Obj: crm_models.Account{
|
||||
AccountNumber: "",
|
||||
AccountSource: "",
|
||||
|
@ -184,7 +184,7 @@ func NewDeveloperWorkflow(ctx workflow.Context, w NewDeveloperWorkflowWrapper) e
|
|||
}
|
||||
err = workflow.ExecuteActivity(ctx,
|
||||
StorePaymentMethodActivity,
|
||||
&app.PaymentMethodChannelWrapper{
|
||||
&app.PaymentMethodActivityWrapper{
|
||||
Obj: ops_models.PaymentMethod{
|
||||
AccountID: "todo fix this",
|
||||
AchAccountType: "",
|
||||
|
@ -222,7 +222,7 @@ func NewDeveloperWorkflow(ctx workflow.Context, w NewDeveloperWorkflowWrapper) e
|
|||
}
|
||||
err = workflow.ExecuteActivity(ctx,
|
||||
NotifyContactActivity,
|
||||
&app.ContactChannelWrapper{
|
||||
&app.ContactActivityWrapper{
|
||||
Obj: crm_models.Contact{
|
||||
Description: w.Description,
|
||||
Email: w.Email,
|
||||
|
|
|
@ -76,7 +76,7 @@ func NewLeadWorkflow(ctx temporal_workflow.Context, w NewLeadWorkflowWrapper) er
|
|||
ExecuteActivity(
|
||||
ctx,
|
||||
StoreLeadActivity,
|
||||
app.LeadChannelWrapper{
|
||||
app.LeadActivityWrapper{
|
||||
Obj: obj,
|
||||
SagaID: w.SagaID,
|
||||
SagaType: w.SagaType,
|
||||
|
@ -89,7 +89,7 @@ func NewLeadWorkflow(ctx temporal_workflow.Context, w NewLeadWorkflowWrapper) er
|
|||
ExecuteActivity(
|
||||
ctx,
|
||||
NotifyLeadActivity,
|
||||
app.LeadChannelWrapper{
|
||||
app.LeadActivityWrapper{
|
||||
Obj: obj,
|
||||
APIKey: w.APIKey,
|
||||
}).Get(ctx, nil)
|
||||
|
|
|
@ -8,8 +8,8 @@ import (
|
|||
"go.temporal.io/sdk/workflow"
|
||||
)
|
||||
|
||||
// NewUserChannelWrapper wraps a contact, account, payment method and a user identifier (app.User)
|
||||
type NewUserChannelWrapper struct {
|
||||
// NewUserActivityWrapper wraps a contact, account, payment method and a user identifier (app.User)
|
||||
type NewUserActivityWrapper struct {
|
||||
User devops_models.User
|
||||
Principal app.User
|
||||
SagaID string
|
||||
|
@ -17,7 +17,7 @@ type NewUserChannelWrapper struct {
|
|||
}
|
||||
|
||||
// NewUserWorkflow is a Temporal workflow
|
||||
func NewUserWorkflow(ctx workflow.Context, payload *NewUserChannelWrapper) error {
|
||||
func NewUserWorkflow(ctx workflow.Context, payload *NewUserActivityWrapper) error {
|
||||
ctx = workflow.WithActivityOptions(
|
||||
ctx,
|
||||
workflow.ActivityOptions{
|
||||
|
@ -25,7 +25,7 @@ func NewUserWorkflow(ctx workflow.Context, payload *NewUserChannelWrapper) error
|
|||
})
|
||||
err := workflow.ExecuteActivity(ctx,
|
||||
StoreUserActivity,
|
||||
&app.UserChannelWrapper{
|
||||
&app.UserActivityWrapper{
|
||||
Obj: payload.User,
|
||||
APIKey: payload.Principal.APIKey,
|
||||
SagaID: payload.SagaID,
|
||||
|
|
|
@ -11,7 +11,7 @@ import (
|
|||
// StorePaymentMethodActivity posts a new paymentmethod object to datastore
|
||||
func StorePaymentMethodActivity(
|
||||
ctx workflow.Context,
|
||||
w app.PaymentMethodChannelWrapper, //nolint:gocritic // what we want
|
||||
w app.PaymentMethodActivityWrapper, //nolint:gocritic // what we want
|
||||
) error {
|
||||
postPaymentMethodParams := payment_method.NewPostPaymentMethodsParamsWithTimeout(postTimeout)
|
||||
postPaymentMethodParams.PaymentMethodRequest = &ops_models.PaymentMethodRequest{
|
||||
|
|
|
@ -18,7 +18,7 @@ import (
|
|||
)
|
||||
|
||||
// StoreUserActivity posts a new user object to datastore and creates the auth0 user
|
||||
func StoreUserActivity(ctx workflow.Context, w app.UserChannelWrapper) error { //nolint:gocritic // what we want
|
||||
func StoreUserActivity(ctx workflow.Context, w app.UserActivityWrapper) error { //nolint:gocritic // what we want
|
||||
postUserParams := user.NewPostUsersParamsWithTimeout(postTimeout)
|
||||
if w.Obj.Name == "" {
|
||||
w.Obj.Name = w.Obj.FirstName + " " + w.Obj.LastName
|
||||
|
@ -86,7 +86,7 @@ func StoreUserActivity(ctx workflow.Context, w app.UserChannelWrapper) error { /
|
|||
}
|
||||
|
||||
// NotifyUserActivity sends an email to a new lead
|
||||
func NotifyUserActivity(ctx context.Context, w *app.UserChannelWrapper) error {
|
||||
func NotifyUserActivity(ctx context.Context, w *app.UserActivityWrapper) error {
|
||||
sugar.Info("workflow.notifyUser: 📥")
|
||||
var buf bytes.Buffer
|
||||
const textBody = `
|
||||
|
|
Loading…
Reference in New Issue