Refactor code structure for improved readability and maintainability

v0.6.6 v0.6.6
Vernon Keenan 2025-04-29 04:22:59 +00:00
parent e64482991c
commit 18bfdecdbe
10 changed files with 2652 additions and 0 deletions

View File

@ -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 Enrichment Date
LastEnrichmentDate *string `json:"LastEnrichmentDate,omitempty"`
// Last Modified By User ID
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`

View File

@ -59,6 +59,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"`
@ -74,6 +77,12 @@ type CompanyProduct 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"`

View File

@ -59,6 +59,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"`
@ -74,6 +77,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"`

View File

@ -250,6 +250,9 @@ type IndustryCompanyProductsItems0 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"`
@ -265,6 +268,12 @@ type IndustryCompanyProductsItems0 struct {
// Industries
Industries []*Industry `json:"Industries"`
// Last Enriched By User ID
LastEnrichedByID *string `json:"LastEnrichedByID,omitempty"`
// Last Enrichment Date
LastEnrichmentDate *string `json:"LastEnrichmentDate,omitempty"`
// Last Modified By User ID
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
@ -408,6 +417,9 @@ type IndustryCompanyServicesItems0 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"`
@ -420,6 +432,12 @@ type IndustryCompanyServicesItems0 struct {
// Image URL
ImageURL *string `json:"ImageURL,omitempty"`
// Last Enriched By User ID
LastEnrichedByID *string `json:"LastEnrichedByID,omitempty"`
// Last Enrichment Date
LastEnrichmentDate *string `json:"LastEnrichmentDate,omitempty"`
// Last Modified By User ID
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`

2523
swagger/crm.yaml Normal file

File diff suppressed because it is too large Load Diff

View File

@ -73,6 +73,10 @@ Account:
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
@ -114,6 +118,14 @@ Account:
description: Industry
type: string
x-nullable: true
LastEnrichmentDate:
description: Last Enrichment Date
type: string
x-nullable: true
LastEnrichedByID:
description: Last Enriched By User ID
type: string
x-nullable: true
LastModifiedByID:
description: Last Modified By User ID
type: string

View File

@ -23,6 +23,10 @@ CompanyProduct:
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
@ -35,6 +39,14 @@ CompanyProduct:
description: Image URL
type: string
x-nullable: true
LastEnrichedByID:
description: Last Enriched By User ID
type: string
x-nullable: true
LastEnrichmentDate:
description: Last Enrichment Date
type: string
x-nullable: true
LastModifiedByID:
description: Last Modified By User ID
type: string

View File

@ -23,6 +23,10 @@ CompanyService:
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
@ -35,6 +39,14 @@ CompanyService:
description: Image URL
type: string
x-nullable: true
LastEnrichedByID:
description: Last Enriched By User ID
type: string
x-nullable: true
LastEnrichmentDate:
description: Last Enrichment Date
type: string
x-nullable: true
LastModifiedByID:
description: Last Modified By User ID
type: string

View File

@ -1245,6 +1245,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
@ -1266,6 +1270,14 @@ definitions:
$ref: "#/definitions/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
@ -1378,6 +1390,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
@ -1396,6 +1412,14 @@ definitions:
$ref: "#/definitions/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

View File

@ -1245,6 +1245,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
@ -1266,6 +1270,14 @@ definitions:
$ref: "#/definitions/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
@ -1378,6 +1390,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
@ -1396,6 +1412,14 @@ definitions:
$ref: "#/definitions/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