feat: Add Channels field to Account and Contact models

The code changes include adding the `Channels` field to the `Account` and `Contact` models in the `crm` and `sfgate` packages. This field is used to store the marketing channels for the respective entities.
v0.6.5 v0.6.5
Vernon Keenan 2024-06-30 21:03:06 +00:00
parent 7eb2060c65
commit e64482991c
8 changed files with 36 additions and 0 deletions

View File

@ -43,6 +43,9 @@ type Account struct {
// Contact ID // Contact ID
BillingContactID *string `json:"BillingContactID,omitempty"` BillingContactID *string `json:"BillingContactID,omitempty"`
// Channels
Channels *string `json:"Channels,omitempty"`
// Closed Date // Closed Date
ClosedDate *string `json:"ClosedDate,omitempty"` ClosedDate *string `json:"ClosedDate,omitempty"`

View File

@ -34,6 +34,9 @@ type Contact struct {
// Birthdate // Birthdate
BirthDate *string `json:"BirthDate,omitempty"` BirthDate *string `json:"BirthDate,omitempty"`
// Channels
Channels *string `json:"Channels,omitempty"`
// Created By User ID // Created By User ID
CreatedByID *string `json:"CreatedByID,omitempty"` CreatedByID *string `json:"CreatedByID,omitempty"`

View File

@ -43,6 +43,9 @@ type Account struct {
// Contact ID // Contact ID
BillingContactID *string `json:"BillingContactID,omitempty"` BillingContactID *string `json:"BillingContactID,omitempty"`
// Marketing Channels (Multiselect Picklist)
Channels *string `json:"Channels,omitempty"`
// Closed Date // Closed Date
ClosedDate *string `json:"ClosedDate,omitempty"` ClosedDate *string `json:"ClosedDate,omitempty"`

View File

@ -34,6 +34,9 @@ type Contact struct {
// Birthdate // Birthdate
BirthDate *string `json:"BirthDate,omitempty"` BirthDate *string `json:"BirthDate,omitempty"`
// Marketing Channels (Multiselect Picklist)
Channels *string `json:"Channels,omitempty"`
// Created By User ID // Created By User ID
CreatedByID *string `json:"CreatedByID,omitempty"` CreatedByID *string `json:"CreatedByID,omitempty"`

View File

@ -27,6 +27,10 @@ Account:
description: Contact ID description: Contact ID
type: string type: string
x-nullable: true x-nullable: true
Channels:
description: Channels
type: string
x-nullable: true
ClosedDate: ClosedDate:
description: Closed Date description: Closed Date
type: string type: string

View File

@ -19,6 +19,10 @@ Contact:
description: Birthdate description: Birthdate
type: string type: string
x-nullable: true x-nullable: true
Channels:
description: Channels
type: string
x-nullable: true
CrunchbaseURL: CrunchbaseURL:
type: string type: string
x-nullable: true x-nullable: true

View File

@ -2909,6 +2909,10 @@ definitions:
description: Contact ID description: Contact ID
type: string type: string
x-nullable: true x-nullable: true
Channels:
description: Marketing Channels (Multiselect Picklist)
type: string
x-nullable: true
ClosedDate: ClosedDate:
description: Closed Date description: Closed Date
type: string type: string
@ -3667,6 +3671,10 @@ definitions:
description: Birthdate description: Birthdate
type: string type: string
x-nullable: true x-nullable: true
Channels:
description: Marketing Channels (Multiselect Picklist)
type: string
x-nullable: true
CreatedByID: CreatedByID:
description: Created By User ID description: Created By User ID
type: string type: string

View File

@ -2909,6 +2909,10 @@ definitions:
description: Contact ID description: Contact ID
type: string type: string
x-nullable: true x-nullable: true
Channels:
description: Marketing Channels (Multiselect Picklist)
type: string
x-nullable: true
ClosedDate: ClosedDate:
description: Closed Date description: Closed Date
type: string type: string
@ -3667,6 +3671,10 @@ definitions:
description: Birthdate description: Birthdate
type: string type: string
x-nullable: true x-nullable: true
Channels:
description: Marketing Channels (Multiselect Picklist)
type: string
x-nullable: true
CreatedByID: CreatedByID:
description: Created By User ID description: Created By User ID
type: string type: string