From 6f44181e08109b28f53f5d6e9fd741957b7cc85b Mon Sep 17 00:00:00 2001 From: Vernon Keenan Date: Tue, 29 Apr 2025 04:48:58 +0000 Subject: [PATCH] feat: Add enrichment fields to Account, CompanyProduct, and CompanyService models --- api/sfgate/sfgate_models/account.go | 9 ++++++ api/sfgate/sfgate_models/company_product.go | 9 ++++++ api/sfgate/sfgate_models/company_service.go | 9 ++++++ swagger/external/sf-gate-vernonkeenan.yaml | 36 +++++++++++++++++++++ swagger/sf-gate-vernonkeenan.yaml | 36 +++++++++++++++++++++ 5 files changed, 99 insertions(+) diff --git a/api/sfgate/sfgate_models/account.go b/api/sfgate/sfgate_models/account.go index 5c728f6..a2ff631 100644 --- a/api/sfgate/sfgate_models/account.go +++ b/api/sfgate/sfgate_models/account.go @@ -79,6 +79,9 @@ type Account struct { // Main Account Email Email *string `json:"Email,omitempty"` + // Enrichment Status + EnrichmentStatus *string `json:"EnrichmentStatus,omitempty"` + // The amount of equity EquityFunding EquityFunding *float64 `json:"EquityFunding,omitempty"` @@ -112,6 +115,12 @@ type Account struct { // Industry Industry *string `json:"Industry,omitempty"` + // Last Enriched By User ID + LastEnrichedByID *string `json:"LastEnrichedByID,omitempty"` + + // Last Enriched Date + LastEnrichmentDate *string `json:"LastEnrichmentDate,omitempty"` + // Last Modified By User ID LastModifiedByID *string `json:"LastModifiedByID,omitempty"` diff --git a/api/sfgate/sfgate_models/company_product.go b/api/sfgate/sfgate_models/company_product.go index f3d654b..0df45b9 100644 --- a/api/sfgate/sfgate_models/company_product.go +++ b/api/sfgate/sfgate_models/company_product.go @@ -36,6 +36,9 @@ type CompanyProduct struct { // Description of product Description *string `json:"Description,omitempty"` + // Enrichment Status + EnrichmentStatus *string `json:"EnrichmentStatus,omitempty"` + // Full Description of product FullDescription *string `json:"FullDescription,omitempty"` @@ -48,6 +51,12 @@ type CompanyProduct struct { // Image URL ImageURL *string `json:"ImageURL,omitempty"` + // Last Enriched By User ID + LastEnrichedByID *string `json:"LastEnrichedByID,omitempty"` + + // Last Enriched Date + LastEnrichmentDate *string `json:"LastEnrichmentDate,omitempty"` + // Last Modified By User ID LastModifiedByID *string `json:"LastModifiedByID,omitempty"` diff --git a/api/sfgate/sfgate_models/company_service.go b/api/sfgate/sfgate_models/company_service.go index ebbaad9..48d0d8f 100644 --- a/api/sfgate/sfgate_models/company_service.go +++ b/api/sfgate/sfgate_models/company_service.go @@ -38,6 +38,9 @@ type CompanyService struct { // Description of service Description *string `json:"Description,omitempty"` + // Enrichment Status + EnrichmentStatus *string `json:"EnrichmentStatus,omitempty"` + // Full Description of service FullDescription *string `json:"FullDescription,omitempty"` @@ -53,6 +56,12 @@ type CompanyService struct { // Industries Industries []*Industry `json:"Industries"` + // Last Enriched By User ID + LastEnrichedByID *string `json:"LastEnrichedByID,omitempty"` + + // Last Enriched Date + LastEnrichmentDate *string `json:"LastEnrichmentDate,omitempty"` + // Last Modified By User ID LastModifiedByID *string `json:"LastModifiedByID,omitempty"` diff --git a/swagger/external/sf-gate-vernonkeenan.yaml b/swagger/external/sf-gate-vernonkeenan.yaml index 5d0c583..3d08edd 100644 --- a/swagger/external/sf-gate-vernonkeenan.yaml +++ b/swagger/external/sf-gate-vernonkeenan.yaml @@ -2955,6 +2955,10 @@ definitions: description: Main Account Email type: string x-nullable: true + EnrichmentStatus: + description: Enrichment Status + type: string + x-nullable: true EquityFunding: description: The amount of equity EquityFunding type: number @@ -3000,6 +3004,14 @@ definitions: description: Last Modified By User ID type: string x-nullable: true + LastEnrichedByID: + description: Last Enriched By User ID + type: string + x-nullable: true + LastEnrichmentDate: + description: Last Enriched Date + type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string @@ -3475,6 +3487,10 @@ definitions: description: Description of product type: string x-nullable: true + EnrichmentStatus: + description: Enrichment Status + type: string + x-nullable: true FullDescription: description: Full Description of product type: string @@ -3490,6 +3506,14 @@ definitions: description: Image URL type: string x-nullable: true + LastEnrichedByID: + description: Last Enriched By User ID + type: string + x-nullable: true + LastEnrichmentDate: + description: Last Enriched Date + type: string + x-nullable: true LastModifiedByID: description: Last Modified By User ID type: string @@ -3573,6 +3597,10 @@ definitions: description: Description of service type: string x-nullable: true + EnrichmentStatus: + description: Enrichment Status + type: string + x-nullable: true FullDescription: description: Full Description of service type: string @@ -3594,6 +3622,14 @@ definitions: $ref: ../../lib/swagger/defs/industry.yaml#/Industry type: array x-nullable: true + LastEnrichedByID: + description: Last Enriched By User ID + type: string + x-nullable: true + LastEnrichmentDate: + description: Last Enriched Date + type: string + x-nullable: true LastModifiedByID: description: Last Modified By User ID type: string diff --git a/swagger/sf-gate-vernonkeenan.yaml b/swagger/sf-gate-vernonkeenan.yaml index de1f757..6e51c25 100644 --- a/swagger/sf-gate-vernonkeenan.yaml +++ b/swagger/sf-gate-vernonkeenan.yaml @@ -2955,6 +2955,10 @@ definitions: description: Main Account Email type: string x-nullable: true + EnrichmentStatus: + description: Enrichment Status + type: string + x-nullable: true EquityFunding: description: The amount of equity EquityFunding type: number @@ -3000,6 +3004,14 @@ definitions: description: Last Modified By User ID type: string x-nullable: true + LastEnrichedByID: + description: Last Enriched By User ID + type: string + x-nullable: true + LastEnrichmentDate: + description: Last Enriched Date + type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string @@ -3475,6 +3487,10 @@ definitions: description: Description of product type: string x-nullable: true + EnrichmentStatus: + description: Enrichment Status + type: string + x-nullable: true FullDescription: description: Full Description of product type: string @@ -3490,6 +3506,14 @@ definitions: description: Image URL type: string x-nullable: true + LastEnrichedByID: + description: Last Enriched By User ID + type: string + x-nullable: true + LastEnrichmentDate: + description: Last Enriched Date + type: string + x-nullable: true LastModifiedByID: description: Last Modified By User ID type: string @@ -3573,6 +3597,10 @@ definitions: description: Description of service type: string x-nullable: true + EnrichmentStatus: + description: Enrichment Status + type: string + x-nullable: true FullDescription: description: Full Description of service type: string @@ -3594,6 +3622,14 @@ definitions: $ref: ../../lib/swagger/defs/industry.yaml#/Industry type: array x-nullable: true + LastEnrichedByID: + description: Last Enriched By User ID + type: string + x-nullable: true + LastEnrichmentDate: + description: Last Enriched Date + type: string + x-nullable: true LastModifiedByID: description: Last Modified By User ID type: string