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
|
// 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"`
|
||||||
|
|
||||||
|
|
|
@ -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"`
|
||||||
|
|
||||||
|
|
|
@ -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"`
|
||||||
|
|
||||||
|
|
|
@ -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"`
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue