mirror of https://github.com/vernonkeenan/lib
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
parent
7eb2060c65
commit
e64482991c
|
@ -43,6 +43,9 @@ type Account struct {
|
|||
// Contact ID
|
||||
BillingContactID *string `json:"BillingContactID,omitempty"`
|
||||
|
||||
// Channels
|
||||
Channels *string `json:"Channels,omitempty"`
|
||||
|
||||
// Closed Date
|
||||
ClosedDate *string `json:"ClosedDate,omitempty"`
|
||||
|
||||
|
|
|
@ -34,6 +34,9 @@ type Contact struct {
|
|||
// Birthdate
|
||||
BirthDate *string `json:"BirthDate,omitempty"`
|
||||
|
||||
// Channels
|
||||
Channels *string `json:"Channels,omitempty"`
|
||||
|
||||
// Created By User ID
|
||||
CreatedByID *string `json:"CreatedByID,omitempty"`
|
||||
|
||||
|
|
|
@ -43,6 +43,9 @@ type Account struct {
|
|||
// Contact ID
|
||||
BillingContactID *string `json:"BillingContactID,omitempty"`
|
||||
|
||||
// Marketing Channels (Multiselect Picklist)
|
||||
Channels *string `json:"Channels,omitempty"`
|
||||
|
||||
// Closed Date
|
||||
ClosedDate *string `json:"ClosedDate,omitempty"`
|
||||
|
||||
|
|
|
@ -34,6 +34,9 @@ type Contact struct {
|
|||
// Birthdate
|
||||
BirthDate *string `json:"BirthDate,omitempty"`
|
||||
|
||||
// Marketing Channels (Multiselect Picklist)
|
||||
Channels *string `json:"Channels,omitempty"`
|
||||
|
||||
// Created By User ID
|
||||
CreatedByID *string `json:"CreatedByID,omitempty"`
|
||||
|
||||
|
|
|
@ -27,6 +27,10 @@ Account:
|
|||
description: Contact ID
|
||||
type: string
|
||||
x-nullable: true
|
||||
Channels:
|
||||
description: Channels
|
||||
type: string
|
||||
x-nullable: true
|
||||
ClosedDate:
|
||||
description: Closed Date
|
||||
type: string
|
||||
|
|
|
@ -19,6 +19,10 @@ Contact:
|
|||
description: Birthdate
|
||||
type: string
|
||||
x-nullable: true
|
||||
Channels:
|
||||
description: Channels
|
||||
type: string
|
||||
x-nullable: true
|
||||
CrunchbaseURL:
|
||||
type: string
|
||||
x-nullable: true
|
||||
|
|
|
@ -2909,6 +2909,10 @@ definitions:
|
|||
description: Contact ID
|
||||
type: string
|
||||
x-nullable: true
|
||||
Channels:
|
||||
description: Marketing Channels (Multiselect Picklist)
|
||||
type: string
|
||||
x-nullable: true
|
||||
ClosedDate:
|
||||
description: Closed Date
|
||||
type: string
|
||||
|
@ -3667,6 +3671,10 @@ definitions:
|
|||
description: Birthdate
|
||||
type: string
|
||||
x-nullable: true
|
||||
Channels:
|
||||
description: Marketing Channels (Multiselect Picklist)
|
||||
type: string
|
||||
x-nullable: true
|
||||
CreatedByID:
|
||||
description: Created By User ID
|
||||
type: string
|
||||
|
|
|
@ -2909,6 +2909,10 @@ definitions:
|
|||
description: Contact ID
|
||||
type: string
|
||||
x-nullable: true
|
||||
Channels:
|
||||
description: Marketing Channels (Multiselect Picklist)
|
||||
type: string
|
||||
x-nullable: true
|
||||
ClosedDate:
|
||||
description: Closed Date
|
||||
type: string
|
||||
|
@ -3667,6 +3671,10 @@ definitions:
|
|||
description: Birthdate
|
||||
type: string
|
||||
x-nullable: true
|
||||
Channels:
|
||||
description: Marketing Channels (Multiselect Picklist)
|
||||
type: string
|
||||
x-nullable: true
|
||||
CreatedByID:
|
||||
description: Created By User ID
|
||||
type: string
|
||||
|
|
Loading…
Reference in New Issue