From aec8303f72f7f85b1bac34dc93e3705fecf02e13 Mon Sep 17 00:00:00 2001 From: Vernon Keenan Date: Thu, 26 Oct 2023 15:37:13 +0000 Subject: [PATCH] adding channels --- Makefile | 12 +- api/crm/crm_models/account.go | 3 + api/crm/crm_models/contact.go | 3 + .../members_models/research_project.go | 3 + .../research_models/company_product.go | 5 +- .../research_models/company_service.go | 5 +- api/research/research_models/factor.go | 2 +- .../research_models/financial_statement.go | 2 +- api/research/research_models/industry.go | 5 +- .../research_models/industry_company.go | 2 +- .../research_models/industry_product.go | 107 +++- .../research_models/industry_service.go | 2 +- api/research/research_models/observation.go | 2 +- .../post_financial_statements_parameters.go | 6 +- api/sfgate/sfgate_models/company_product.go | 102 ++- api/sfgate/sfgate_models/company_service.go | 26 +- api/sfgate/sfgate_models/factor.go | 2 +- .../sfgate_models/financial_statement.go | 2 +- api/sfgate/sfgate_models/industry.go | 259 +------- api/sfgate/sfgate_models/industry_company.go | 6 +- api/sfgate/sfgate_models/industry_product.go | 5 +- api/sfgate/sfgate_models/industry_service.go | 4 +- api/sfgate/sfgate_models/observation.go | 2 +- api/sfgate/sfgate_models/prompt.go | 11 +- api/sfgate/sfgate_models/research_project.go | 3 + swagger/defs/account.yaml | 4 + swagger/defs/company-product.yaml | 41 +- swagger/defs/company-service.yaml | 34 + swagger/defs/contact.yaml | 4 + swagger/defs/factor.yaml | 1 + swagger/defs/financial-statement.yaml | 23 +- swagger/defs/industry-company.yaml | 13 +- swagger/defs/industry-product.yaml | 4 + swagger/defs/research-project.yaml | 4 + swagger/external/auth-work.yaml | 2 +- swagger/external/crm-work.yaml | 2 +- swagger/external/members-work.yaml | 2 +- swagger/external/plex-work.yaml | 2 +- swagger/external/research-work.yaml | 604 +----------------- swagger/external/sf-gate-work.yaml | 558 +--------------- swagger/research-work.yaml | 602 +---------------- swagger/sf-gate-work.yaml | 556 +--------------- 42 files changed, 487 insertions(+), 2550 deletions(-) diff --git a/Makefile b/Makefile index b09ac91..a4eb27b 100644 --- a/Makefile +++ b/Makefile @@ -33,7 +33,7 @@ swagger: # update external auth client # sed -i 's|"http"|"https"|g' ./swagger/external/auth-work.yaml - sed -i 's|auth.work.com:8080|gw.tnxs.net|g' ./swagger/external/auth-work.yaml + sed -i 's|auth.work.tnxs.net:8080|gw.tnxs.net|g' ./swagger/external/auth-work.yaml sed -i 's|"/v1"|"/work/auth/v1"|g' ./swagger/external/auth-work.yaml # # generate crm client @@ -52,7 +52,7 @@ swagger: # update external crm client # sed -i 's|"http"|"https"|g' ./swagger/external/crm-work.yaml - sed -i 's|crm.work.com:8080|gw.tnxs.net|g' ./swagger/external/crm-work.yaml + sed -i 's|crm.work.tnxs.net:8080|gw.tnxs.net|g' ./swagger/external/crm-work.yaml sed -i 's|"/v1"|"/vk/crm/v1"|g' ./swagger/external/crm-work.yaml # # generate research client @@ -71,7 +71,7 @@ swagger: # update external research client # sed -i 's|"http"|"https"|g' ./swagger/external/research-work.yaml - sed -i 's|research.work.com:8080|gw.tnxs.net|g' ./swagger/external/research-work.yaml + sed -i 's|research.work.tnxs.net:8080|gw.tnxs.net|g' ./swagger/external/research-work.yaml sed -i 's|"/v1"|"/vk/research/v1"|g' ./swagger/external/research-work.yaml # # generate members client @@ -90,7 +90,7 @@ swagger: # update external members client # sed -i 's|"http"|"https"|g' ./swagger/external/members-work.yaml - sed -i 's|members.work.com:8080|gw.tnxs.net|g' ./swagger/external/members-work.yaml + sed -i 's|members.work.tnxs.net:8080|gw.tnxs.net|g' ./swagger/external/members-work.yaml sed -i 's|"/v1"|"/work/members/v1"|g' ./swagger/external/members-work.yaml # # generate sfgate client @@ -109,7 +109,7 @@ swagger: # update external client # sed -i 's|"http"|"https"|g' ./swagger/external/sf-gate-work.yaml - sed -i 's|sf-gate.members.work.com.com:8080|gw.tnxs.net|g' ./swagger/external/sf-gate-work.yaml + sed -i 's|sf-gate.work.tnxs.net:8080|gw.tnxs.net|g' ./swagger/external/sf-gate-work.yaml sed -i 's|"/v1"|"/work/sf-gate/v1"|g' ./swagger/external/sf-gate-work.yaml # # generate plex client @@ -127,7 +127,7 @@ swagger: # update external plex client # sed -i 's|"http"|"https"|g' ./swagger/external/plex-work.yaml - sed -i 's|plex.work.com:8080|gw.tnxs.net|g' ./swagger/external/plex-work.yaml + sed -i 's|plex.work.tnxs.net:8080|gw.tnxs.net|g' ./swagger/external/plex-work.yaml sed -i 's|"/v1"|"/work/plex/v1"|g' ./swagger/external/plex-work.yaml # # copy external swagger files diff --git a/api/crm/crm_models/account.go b/api/crm/crm_models/account.go index 03c9c3e..fff66fb 100644 --- a/api/crm/crm_models/account.go +++ b/api/crm/crm_models/account.go @@ -43,6 +43,9 @@ type Account struct { // Contact ID BillingContactID *string `json:"BillingContactID,omitempty"` + // The channels associated with the track (Multiselect Picklist). + Channels *string `json:"Channels,omitempty"` + // Closed Date ClosedDate *string `json:"ClosedDate,omitempty"` diff --git a/api/crm/crm_models/contact.go b/api/crm/crm_models/contact.go index 74de9f2..ce59793 100644 --- a/api/crm/crm_models/contact.go +++ b/api/crm/crm_models/contact.go @@ -34,6 +34,9 @@ type Contact struct { // Birthdate BirthDate *string `json:"BirthDate,omitempty"` + // The channels associated with the track (Multiselect Picklist). + Channels *string `json:"Channels,omitempty"` + // Created By User ID CreatedByID *string `json:"CreatedByID,omitempty"` diff --git a/api/members/members_models/research_project.go b/api/members/members_models/research_project.go index e593973..a1e38c6 100644 --- a/api/members/members_models/research_project.go +++ b/api/members/members_models/research_project.go @@ -26,6 +26,9 @@ type ResearchProject struct { // account ID AccountID *string `json:"AccountID,omitempty"` + // The channels associated with the track (Multiselect Picklist). + Channels *string `json:"Channels,omitempty"` + // companies Companies []*ResearchProjectCompany `json:"Companies"` diff --git a/api/research/research_models/company_product.go b/api/research/research_models/company_product.go index 5b3daca..f1d32f9 100644 --- a/api/research/research_models/company_product.go +++ b/api/research/research_models/company_product.go @@ -20,7 +20,7 @@ import ( // CompanyProduct A software product or service vended by a Company // -// swagger:model CompanyProduct +// swagger:model companyProduct type CompanyProduct struct { // Account Email @@ -50,6 +50,9 @@ type CompanyProduct struct { // Salesforce AppExchange URL AppExchange *string `json:"AppExchange,omitempty"` + // The channels associated with the track (Multiselect Picklist). + Channels *string `json:"Channels,omitempty"` + // Created By User ID CreatedByID *string `json:"CreatedByID,omitempty"` diff --git a/api/research/research_models/company_service.go b/api/research/research_models/company_service.go index 328ba45..1cac380 100644 --- a/api/research/research_models/company_service.go +++ b/api/research/research_models/company_service.go @@ -20,7 +20,7 @@ import ( // CompanyService A service performed by a Company // -// swagger:model CompanyService +// swagger:model companyService type CompanyService struct { // Account Email @@ -50,6 +50,9 @@ type CompanyService struct { // Salesforce AppExchange URL AppExchange *string `json:"AppExchange,omitempty"` + // The channels associated with the track (Multiselect Picklist). + Channels *string `json:"Channels,omitempty"` + // Created By User ID CreatedByID *string `json:"CreatedByID,omitempty"` diff --git a/api/research/research_models/factor.go b/api/research/research_models/factor.go index 2e38b04..35875f0 100644 --- a/api/research/research_models/factor.go +++ b/api/research/research_models/factor.go @@ -20,7 +20,7 @@ import ( // Factor A Factor of analysis within a research topic // -// swagger:model Factor +// swagger:model factor type Factor struct { // Created By User ID diff --git a/api/research/research_models/financial_statement.go b/api/research/research_models/financial_statement.go index 8d1f555..19aaeae 100644 --- a/api/research/research_models/financial_statement.go +++ b/api/research/research_models/financial_statement.go @@ -18,7 +18,7 @@ import ( // FinancialStatement A financial statement for a company // -// swagger:model FinancialStatement +// swagger:model financialStatement type FinancialStatement struct { // EDGAR Access Number diff --git a/api/research/research_models/industry.go b/api/research/research_models/industry.go index 3eebeb7..bf6be93 100644 --- a/api/research/research_models/industry.go +++ b/api/research/research_models/industry.go @@ -20,9 +20,12 @@ import ( // Industry An industry that is being researched // -// swagger:model Industry +// swagger:model industry type Industry struct { + // The channels associated with the track (Multiselect Picklist). + Channels *string `json:"Channels,omitempty"` + // The list of Products in this industry CompanyProducts []*CompanyProduct `json:"CompanyProducts"` diff --git a/api/research/research_models/industry_company.go b/api/research/research_models/industry_company.go index 259da80..76eef5f 100644 --- a/api/research/research_models/industry_company.go +++ b/api/research/research_models/industry_company.go @@ -18,7 +18,7 @@ import ( // IndustryCompany Junction object between Industry and Company // -// swagger:model IndustryCompany +// swagger:model industryCompany type IndustryCompany struct { // account ID diff --git a/api/research/research_models/industry_product.go b/api/research/research_models/industry_product.go index 11c1d46..3c98f19 100644 --- a/api/research/research_models/industry_product.go +++ b/api/research/research_models/industry_product.go @@ -12,15 +12,19 @@ package research_models import ( "context" + "github.com/go-openapi/errors" "github.com/go-openapi/strfmt" "github.com/go-openapi/swag" ) // IndustryProduct Junction object between Industry and CompanyProduct // -// swagger:model IndustryProduct +// swagger:model industryProduct type IndustryProduct struct { + // company product + CompanyProduct *CompanyProduct `json:"CompanyProduct,omitempty"` + // company product ID CompanyProductID *string `json:"CompanyProductID,omitempty"` @@ -36,6 +40,9 @@ type IndustryProduct struct { // Record Id ID string `json:"ID,omitempty"` + // industry + Industry *Industry `json:"Industry,omitempty"` + // industry ID IndustryID *string `json:"IndustryID,omitempty"` @@ -48,11 +55,107 @@ type IndustryProduct struct { // Validate validates this industry product func (m *IndustryProduct) Validate(formats strfmt.Registry) error { + var res []error + + if err := m.validateCompanyProduct(formats); err != nil { + res = append(res, err) + } + + if err := m.validateIndustry(formats); err != nil { + res = append(res, err) + } + + if len(res) > 0 { + return errors.CompositeValidationError(res...) + } return nil } -// ContextValidate validates this industry product based on context it is used +func (m *IndustryProduct) validateCompanyProduct(formats strfmt.Registry) error { + if swag.IsZero(m.CompanyProduct) { // not required + return nil + } + + if m.CompanyProduct != nil { + if err := m.CompanyProduct.Validate(formats); err != nil { + if ve, ok := err.(*errors.Validation); ok { + return ve.ValidateName("CompanyProduct") + } else if ce, ok := err.(*errors.CompositeError); ok { + return ce.ValidateName("CompanyProduct") + } + return err + } + } + + return nil +} + +func (m *IndustryProduct) validateIndustry(formats strfmt.Registry) error { + if swag.IsZero(m.Industry) { // not required + return nil + } + + if m.Industry != nil { + if err := m.Industry.Validate(formats); err != nil { + if ve, ok := err.(*errors.Validation); ok { + return ve.ValidateName("Industry") + } else if ce, ok := err.(*errors.CompositeError); ok { + return ce.ValidateName("Industry") + } + return err + } + } + + return nil +} + +// ContextValidate validate this industry product based on the context it is used func (m *IndustryProduct) ContextValidate(ctx context.Context, formats strfmt.Registry) error { + var res []error + + if err := m.contextValidateCompanyProduct(ctx, formats); err != nil { + res = append(res, err) + } + + if err := m.contextValidateIndustry(ctx, formats); err != nil { + res = append(res, err) + } + + if len(res) > 0 { + return errors.CompositeValidationError(res...) + } + return nil +} + +func (m *IndustryProduct) contextValidateCompanyProduct(ctx context.Context, formats strfmt.Registry) error { + + if m.CompanyProduct != nil { + if err := m.CompanyProduct.ContextValidate(ctx, formats); err != nil { + if ve, ok := err.(*errors.Validation); ok { + return ve.ValidateName("CompanyProduct") + } else if ce, ok := err.(*errors.CompositeError); ok { + return ce.ValidateName("CompanyProduct") + } + return err + } + } + + return nil +} + +func (m *IndustryProduct) contextValidateIndustry(ctx context.Context, formats strfmt.Registry) error { + + if m.Industry != nil { + if err := m.Industry.ContextValidate(ctx, formats); err != nil { + if ve, ok := err.(*errors.Validation); ok { + return ve.ValidateName("Industry") + } else if ce, ok := err.(*errors.CompositeError); ok { + return ce.ValidateName("Industry") + } + return err + } + } + return nil } diff --git a/api/research/research_models/industry_service.go b/api/research/research_models/industry_service.go index 4f60644..519dba8 100644 --- a/api/research/research_models/industry_service.go +++ b/api/research/research_models/industry_service.go @@ -19,7 +19,7 @@ import ( // IndustryService Junction Object bewtwen Industry and CompanyService // -// swagger:model IndustryService +// swagger:model industryService type IndustryService struct { // company service diff --git a/api/research/research_models/observation.go b/api/research/research_models/observation.go index c03e143..7302715 100644 --- a/api/research/research_models/observation.go +++ b/api/research/research_models/observation.go @@ -18,7 +18,7 @@ import ( // Observation A data point collected while analyzing a Factor // -// swagger:model Observation +// swagger:model observation type Observation struct { // The ID of the Company being analyzed diff --git a/api/sfgate/sfgate_client/financial_statements/post_financial_statements_parameters.go b/api/sfgate/sfgate_client/financial_statements/post_financial_statements_parameters.go index ffe66b6..1cce410 100644 --- a/api/sfgate/sfgate_client/financial_statements/post_financial_statements_parameters.go +++ b/api/sfgate/sfgate_client/financial_statements/post_financial_statements_parameters.go @@ -71,7 +71,7 @@ type PostFinancialStatementsParams struct { A request with an array of FinancialStatement Objects */ - FinancialStatementRequest *sfgate_models.FinancialStatement + FinancialStatementRequest *sfgate_models.FinancialStatementRequest timeout time.Duration Context context.Context @@ -127,13 +127,13 @@ func (o *PostFinancialStatementsParams) SetHTTPClient(client *http.Client) { } // WithFinancialStatementRequest adds the financialStatementRequest to the post financial statements params -func (o *PostFinancialStatementsParams) WithFinancialStatementRequest(financialStatementRequest *sfgate_models.FinancialStatement) *PostFinancialStatementsParams { +func (o *PostFinancialStatementsParams) WithFinancialStatementRequest(financialStatementRequest *sfgate_models.FinancialStatementRequest) *PostFinancialStatementsParams { o.SetFinancialStatementRequest(financialStatementRequest) return o } // SetFinancialStatementRequest adds the financialStatementRequest to the post financial statements params -func (o *PostFinancialStatementsParams) SetFinancialStatementRequest(financialStatementRequest *sfgate_models.FinancialStatement) { +func (o *PostFinancialStatementsParams) SetFinancialStatementRequest(financialStatementRequest *sfgate_models.FinancialStatementRequest) { o.FinancialStatementRequest = financialStatementRequest } diff --git a/api/sfgate/sfgate_models/company_product.go b/api/sfgate/sfgate_models/company_product.go index d7810ab..ddbff92 100644 --- a/api/sfgate/sfgate_models/company_product.go +++ b/api/sfgate/sfgate_models/company_product.go @@ -11,18 +11,47 @@ package sfgate_models import ( "context" + "strconv" + "github.com/go-openapi/errors" "github.com/go-openapi/strfmt" "github.com/go-openapi/swag" ) // CompanyProduct A software product or service vended by a Company // -// swagger:model CompanyProduct +// swagger:model companyProduct type CompanyProduct struct { + // Account Email + AccountEmail *string `json:"AccountEmail,omitempty"` + // ID of the Company that owns this Product - AccountID string `json:"AccountID,omitempty"` + AccountID *string `json:"AccountID,omitempty"` + + // Account Logo + AccountLogo *string `json:"AccountLogo,omitempty"` + + // Account Name + AccountName *string `json:"AccountName,omitempty"` + + // Account Number + AccountNumber *string `json:"AccountNumber,omitempty"` + + // Account Publish + AccountPublish *bool `json:"AccountPublish,omitempty"` + + // Account Slug + AccountSlug *string `json:"AccountSlug,omitempty"` + + // Account Website + AccountWebsite *string `json:"AccountWebsite,omitempty"` + + // Salesforce AppExchange URL + AppExchange *string `json:"AppExchange,omitempty"` + + // The channels associated with the track (Multiselect Picklist). + Channels *string `json:"Channels,omitempty"` // Created By User ID CreatedByID *string `json:"CreatedByID,omitempty"` @@ -45,6 +74,9 @@ type CompanyProduct struct { // Image URL ImageURL *string `json:"ImageURL,omitempty"` + // Industries + Industries []*Industry `json:"Industries"` + // Last Modified By User ID LastModifiedByID *string `json:"LastModifiedByID,omitempty"` @@ -78,11 +110,75 @@ type CompanyProduct struct { // Validate validates this company product func (m *CompanyProduct) Validate(formats strfmt.Registry) error { + var res []error + + if err := m.validateIndustries(formats); err != nil { + res = append(res, err) + } + + if len(res) > 0 { + return errors.CompositeValidationError(res...) + } return nil } -// ContextValidate validates this company product based on context it is used +func (m *CompanyProduct) validateIndustries(formats strfmt.Registry) error { + if swag.IsZero(m.Industries) { // not required + return nil + } + + for i := 0; i < len(m.Industries); i++ { + if swag.IsZero(m.Industries[i]) { // not required + continue + } + + if m.Industries[i] != nil { + if err := m.Industries[i].Validate(formats); err != nil { + if ve, ok := err.(*errors.Validation); ok { + return ve.ValidateName("Industries" + "." + strconv.Itoa(i)) + } else if ce, ok := err.(*errors.CompositeError); ok { + return ce.ValidateName("Industries" + "." + strconv.Itoa(i)) + } + return err + } + } + + } + + return nil +} + +// ContextValidate validate this company product based on the context it is used func (m *CompanyProduct) ContextValidate(ctx context.Context, formats strfmt.Registry) error { + var res []error + + if err := m.contextValidateIndustries(ctx, formats); err != nil { + res = append(res, err) + } + + if len(res) > 0 { + return errors.CompositeValidationError(res...) + } + return nil +} + +func (m *CompanyProduct) contextValidateIndustries(ctx context.Context, formats strfmt.Registry) error { + + for i := 0; i < len(m.Industries); i++ { + + if m.Industries[i] != nil { + if err := m.Industries[i].ContextValidate(ctx, formats); err != nil { + if ve, ok := err.(*errors.Validation); ok { + return ve.ValidateName("Industries" + "." + strconv.Itoa(i)) + } else if ce, ok := err.(*errors.CompositeError); ok { + return ce.ValidateName("Industries" + "." + strconv.Itoa(i)) + } + return err + } + } + + } + return nil } diff --git a/api/sfgate/sfgate_models/company_service.go b/api/sfgate/sfgate_models/company_service.go index 527a49d..24bc95d 100644 --- a/api/sfgate/sfgate_models/company_service.go +++ b/api/sfgate/sfgate_models/company_service.go @@ -20,15 +20,39 @@ import ( // CompanyService A service performed by a Company // -// swagger:model CompanyService +// swagger:model companyService type CompanyService struct { + // Account Email + AccountEmail *string `json:"AccountEmail,omitempty"` + // ID of the Company that owns this Service AccountID string `json:"AccountID,omitempty"` + // Account Logo + AccountLogo *string `json:"AccountLogo,omitempty"` + + // Account Name + AccountName *string `json:"AccountName,omitempty"` + + // Account Number + AccountNumber *string `json:"AccountNumber,omitempty"` + + // Account Publish + AccountPublish *bool `json:"AccountPublish,omitempty"` + + // Account Slug + AccountSlug *string `json:"AccountSlug,omitempty"` + + // Account Website + AccountWebsite *string `json:"AccountWebsite,omitempty"` + // Salesforce AppExchange URL AppExchange *string `json:"AppExchange,omitempty"` + // The channels associated with the track (Multiselect Picklist). + Channels *string `json:"Channels,omitempty"` + // Created By User ID CreatedByID *string `json:"CreatedByID,omitempty"` diff --git a/api/sfgate/sfgate_models/factor.go b/api/sfgate/sfgate_models/factor.go index 99576b9..e0b73eb 100644 --- a/api/sfgate/sfgate_models/factor.go +++ b/api/sfgate/sfgate_models/factor.go @@ -20,7 +20,7 @@ import ( // Factor A Factor of analysis within a research topic // -// swagger:model Factor +// swagger:model factor type Factor struct { // Created By User ID diff --git a/api/sfgate/sfgate_models/financial_statement.go b/api/sfgate/sfgate_models/financial_statement.go index 03313d3..cda67cf 100644 --- a/api/sfgate/sfgate_models/financial_statement.go +++ b/api/sfgate/sfgate_models/financial_statement.go @@ -18,7 +18,7 @@ import ( // FinancialStatement A financial statement for a company // -// swagger:model FinancialStatement +// swagger:model financialStatement type FinancialStatement struct { // EDGAR Access Number diff --git a/api/sfgate/sfgate_models/industry.go b/api/sfgate/sfgate_models/industry.go index 13e0a49..522d3c3 100644 --- a/api/sfgate/sfgate_models/industry.go +++ b/api/sfgate/sfgate_models/industry.go @@ -27,10 +27,10 @@ type Industry struct { Channels *string `json:"Channels,omitempty"` // The list of Products in this industry - CompanyProducts []*IndustryCompanyProductsItems0 `json:"CompanyProducts"` + CompanyProducts []*CompanyProduct `json:"CompanyProducts"` // The list of Services in this industry - CompanyServices []*IndustryCompanyServicesItems0 `json:"CompanyServices"` + CompanyServices []*CompanyService `json:"CompanyServices"` // Created By User ID CreatedByID *string `json:"CreatedByID,omitempty"` @@ -229,258 +229,3 @@ func (m *Industry) UnmarshalBinary(b []byte) error { *m = res return nil } - -// IndustryCompanyProductsItems0 A software product or service vended by a Company -// -// swagger:model IndustryCompanyProductsItems0 -type IndustryCompanyProductsItems0 struct { - - // ID of the Company that owns this Product - AccountID string `json:"AccountID,omitempty"` - - // Salesforce AppExchange URL - AppExchange *string `json:"AppExchange,omitempty"` - - // The channels associated with the track (Multiselect Picklist). - Channels *string `json:"Channels,omitempty"` - - // Created By User ID - CreatedByID *string `json:"CreatedByID,omitempty"` - - // Created Date - CreatedDate *string `json:"CreatedDate,omitempty"` - - // Description of product - Description *string `json:"Description,omitempty"` - - // Full Description of product - FullDescription *string `json:"FullDescription,omitempty"` - - // Record Id - ID string `json:"ID,omitempty"` - - // Image Alt Text - ImageAltText *string `json:"ImageAltText,omitempty"` - - // Image URL - ImageURL *string `json:"ImageURL,omitempty"` - - // Industries - Industries []*Industry `json:"Industries"` - - // Last Modified By User ID - LastModifiedByID *string `json:"LastModifiedByID,omitempty"` - - // Last Modified Date - LastModifiedDate *string `json:"LastModifiedDate,omitempty"` - - // Logo - Logo *string `json:"Logo,omitempty"` - - // Product Name - Name *string `json:"Name,omitempty"` - - // Product Video ID - ProductVideoID *string `json:"ProductVideoID,omitempty"` - - // Published - Published *bool `json:"Published,omitempty"` - - // Salesforce Specific - SalesforceSpecific *bool `json:"SalesforceSpecific,omitempty"` - - // Slug - Slug *string `json:"Slug,omitempty"` - - // TagLine - TagLine *string `json:"TagLine,omitempty"` - - // Website - URL *string `json:"URL,omitempty"` -} - -// Validate validates this industry company products items0 -func (m *IndustryCompanyProductsItems0) Validate(formats strfmt.Registry) error { - var res []error - - if err := m.validateIndustries(formats); err != nil { - res = append(res, err) - } - - if len(res) > 0 { - return errors.CompositeValidationError(res...) - } - return nil -} - -func (m *IndustryCompanyProductsItems0) validateIndustries(formats strfmt.Registry) error { - if swag.IsZero(m.Industries) { // not required - return nil - } - - for i := 0; i < len(m.Industries); i++ { - if swag.IsZero(m.Industries[i]) { // not required - continue - } - - if m.Industries[i] != nil { - if err := m.Industries[i].Validate(formats); err != nil { - if ve, ok := err.(*errors.Validation); ok { - return ve.ValidateName("Industries" + "." + strconv.Itoa(i)) - } else if ce, ok := err.(*errors.CompositeError); ok { - return ce.ValidateName("Industries" + "." + strconv.Itoa(i)) - } - return err - } - } - - } - - return nil -} - -// ContextValidate validate this industry company products items0 based on the context it is used -func (m *IndustryCompanyProductsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error { - var res []error - - if err := m.contextValidateIndustries(ctx, formats); err != nil { - res = append(res, err) - } - - if len(res) > 0 { - return errors.CompositeValidationError(res...) - } - return nil -} - -func (m *IndustryCompanyProductsItems0) contextValidateIndustries(ctx context.Context, formats strfmt.Registry) error { - - for i := 0; i < len(m.Industries); i++ { - - if m.Industries[i] != nil { - if err := m.Industries[i].ContextValidate(ctx, formats); err != nil { - if ve, ok := err.(*errors.Validation); ok { - return ve.ValidateName("Industries" + "." + strconv.Itoa(i)) - } else if ce, ok := err.(*errors.CompositeError); ok { - return ce.ValidateName("Industries" + "." + strconv.Itoa(i)) - } - return err - } - } - - } - - return nil -} - -// MarshalBinary interface implementation -func (m *IndustryCompanyProductsItems0) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *IndustryCompanyProductsItems0) UnmarshalBinary(b []byte) error { - var res IndustryCompanyProductsItems0 - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} - -// IndustryCompanyServicesItems0 A service performed by a Company -// -// swagger:model IndustryCompanyServicesItems0 -type IndustryCompanyServicesItems0 struct { - - // ID of the Company that owns this Service - AccountID string `json:"AccountID,omitempty"` - - // Salesforce AppExchange URL - AppExchange *string `json:"AppExchange,omitempty"` - - // The channels associated with the track (Multiselect Picklist). - Channels *string `json:"Channels,omitempty"` - - // Created By User ID - CreatedByID *string `json:"CreatedByID,omitempty"` - - // Created Date - CreatedDate *string `json:"CreatedDate,omitempty"` - - // Description of service - Description *string `json:"Description,omitempty"` - - // Full Description of service - FullDescription *string `json:"FullDescription,omitempty"` - - // Record Id - ID string `json:"ID,omitempty"` - - // Image Alt Text - ImageAltText *string `json:"ImageAltText,omitempty"` - - // Image URL - ImageURL *string `json:"ImageURL,omitempty"` - - // Last Modified By User ID - LastModifiedByID *string `json:"LastModifiedByID,omitempty"` - - // Last Modified Date - LastModifiedDate *string `json:"LastModifiedDate,omitempty"` - - // Logo - Logo *string `json:"Logo,omitempty"` - - // Service Name - Name *string `json:"Name,omitempty"` - - // Published - Published *bool `json:"Published,omitempty"` - - // Salesforce Specific - SalesforceSpecific *bool `json:"SalesforceSpecific,omitempty"` - - // Service Video ID - ServiceVideoID *string `json:"ServiceVideoID,omitempty"` - - // Slug - Slug *string `json:"Slug,omitempty"` - - // Tag Line - TagLine *string `json:"TagLine,omitempty"` - - // URL - URL *string `json:"URL,omitempty"` -} - -// Validate validates this industry company services items0 -func (m *IndustryCompanyServicesItems0) Validate(formats strfmt.Registry) error { - return nil -} - -// ContextValidate validates this industry company services items0 based on context it is used -func (m *IndustryCompanyServicesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error { - return nil -} - -// MarshalBinary interface implementation -func (m *IndustryCompanyServicesItems0) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *IndustryCompanyServicesItems0) UnmarshalBinary(b []byte) error { - var res IndustryCompanyServicesItems0 - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/api/sfgate/sfgate_models/industry_company.go b/api/sfgate/sfgate_models/industry_company.go index e615156..4188236 100644 --- a/api/sfgate/sfgate_models/industry_company.go +++ b/api/sfgate/sfgate_models/industry_company.go @@ -18,11 +18,11 @@ import ( // IndustryCompany Junction object between Industry and Company // -// swagger:model IndustryCompany +// swagger:model industryCompany type IndustryCompany struct { - // company ID - CompanyID *string `json:"CompanyID,omitempty"` + // account ID + AccountID *string `json:"AccountID,omitempty"` // Created By User ID CreatedByID *string `json:"CreatedByID,omitempty"` diff --git a/api/sfgate/sfgate_models/industry_product.go b/api/sfgate/sfgate_models/industry_product.go index aed34be..aa32752 100644 --- a/api/sfgate/sfgate_models/industry_product.go +++ b/api/sfgate/sfgate_models/industry_product.go @@ -19,7 +19,7 @@ import ( // IndustryProduct Junction object between Industry and CompanyProduct // -// swagger:model IndustryProduct +// swagger:model industryProduct type IndustryProduct struct { // company product @@ -34,6 +34,9 @@ type IndustryProduct struct { // Created Date CreatedDate *string `json:"CreatedDate,omitempty"` + // HTML + HTML *string `json:"HTML,omitempty"` + // Record Id ID string `json:"ID,omitempty"` diff --git a/api/sfgate/sfgate_models/industry_service.go b/api/sfgate/sfgate_models/industry_service.go index 77c50a8..49c2e85 100644 --- a/api/sfgate/sfgate_models/industry_service.go +++ b/api/sfgate/sfgate_models/industry_service.go @@ -17,9 +17,9 @@ import ( "github.com/go-openapi/swag" ) -// IndustryService Junction Object between Industry and CompanyService +// IndustryService Junction Object bewtwen Industry and CompanyService // -// swagger:model IndustryService +// swagger:model industryService type IndustryService struct { // company service diff --git a/api/sfgate/sfgate_models/observation.go b/api/sfgate/sfgate_models/observation.go index 4fbe1fe..82fc398 100644 --- a/api/sfgate/sfgate_models/observation.go +++ b/api/sfgate/sfgate_models/observation.go @@ -18,7 +18,7 @@ import ( // Observation A data point collected while analyzing a Factor // -// swagger:model Observation +// swagger:model observation type Observation struct { // The ID of the Company being analyzed diff --git a/api/sfgate/sfgate_models/prompt.go b/api/sfgate/sfgate_models/prompt.go index 94fde38..066aa81 100644 --- a/api/sfgate/sfgate_models/prompt.go +++ b/api/sfgate/sfgate_models/prompt.go @@ -18,7 +18,7 @@ import ( // Prompt A prompt // -// swagger:model Prompt +// swagger:model prompt type Prompt struct { // The ID of the user who created the prompt @@ -48,6 +48,9 @@ type Prompt struct { // The logo for the prompt Logo *string `json:"Logo,omitempty"` + // The maximum number of tokens to generate + MaxTokens *float64 `json:"MaxTokens,omitempty"` + // The model for the prompt Model *string `json:"Model,omitempty"` @@ -73,10 +76,10 @@ type Prompt struct { Slug *string `json:"Slug,omitempty"` // The System prompt to be used - SystemPrompt *string `json:"SystemPrompt,omitempty"` + System *string `json:"System,omitempty"` - // A list of tags (from salesforce newline separated) - Tags *string `json:"Tags,omitempty"` + // A list of tags + Tags []string `json:"Tags"` // The temperature of the prompt Temperature *float64 `json:"Temperature,omitempty"` diff --git a/api/sfgate/sfgate_models/research_project.go b/api/sfgate/sfgate_models/research_project.go index 224b038..7bc3066 100644 --- a/api/sfgate/sfgate_models/research_project.go +++ b/api/sfgate/sfgate_models/research_project.go @@ -26,6 +26,9 @@ type ResearchProject struct { // account ID AccountID *string `json:"AccountID,omitempty"` + // The channels associated with the track (Multiselect Picklist). + Channels *string `json:"Channels,omitempty"` + // companies Companies []*ResearchProjectCompany `json:"Companies"` diff --git a/swagger/defs/account.yaml b/swagger/defs/account.yaml index 6930ba6..8c0cd8c 100644 --- a/swagger/defs/account.yaml +++ b/swagger/defs/account.yaml @@ -42,6 +42,10 @@ Account: description: The year company started cloud revenue type: string x-nullable: true + Channels: + description: The channels associated with the track (Multiselect Picklist). + type: string + x-nullable: true CreatedByID: description: Created By User ID type: string diff --git a/swagger/defs/company-product.yaml b/swagger/defs/company-product.yaml index c87de70..06f8351 100644 --- a/swagger/defs/company-product.yaml +++ b/swagger/defs/company-product.yaml @@ -7,6 +7,35 @@ CompanyProduct: AccountID: description: ID of the Company that owns this Product type: string + x-nullable: true + AccountNumber: + description: Account Number + type: string + x-nullable: true + AccountName: + description: Account Name + type: string + x-nullable: true + AccountPublish: + description: Account Publish + type: boolean + x-nullable: true + AccountWebsite: + description: Account Website + type: string + x-nullable: true + AccountEmail: + description: Account Email + type: string + x-nullable: true + AccountLogo: + description: Account Logo + type: string + x-nullable: true + AccountSlug: + description: Account Slug + type: string + x-nullable: true AppExchange: description: Salesforce AppExchange URL type: string @@ -39,6 +68,12 @@ CompanyProduct: description: Image URL type: string x-nullable: true + Industries: + description: Industries + items: + $ref: "./industry.yaml#/Industry" + type: array + x-nullable: true LastModifiedByID: description: Last Modified By User ID type: string @@ -79,10 +114,4 @@ CompanyProduct: description: Website type: string x-nullable: true - Industries: - description: Industries - items: - $ref: "./industry.yaml#/Industry" - type: array - x-nullable: true type: object diff --git a/swagger/defs/company-service.yaml b/swagger/defs/company-service.yaml index 01d632d..1f4b50f 100644 --- a/swagger/defs/company-service.yaml +++ b/swagger/defs/company-service.yaml @@ -7,6 +7,34 @@ CompanyService: AccountID: description: ID of the Company that owns this Service type: string + AccountNumber: + description: Account Number + type: string + x-nullable: true + AccountName: + description: Account Name + type: string + x-nullable: true + AccountPublish: + description: Account Publish + type: boolean + x-nullable: true + AccountWebsite: + description: Account Website + type: string + x-nullable: true + AccountEmail: + description: Account Email + type: string + x-nullable: true + AccountLogo: + description: Account Logo + type: string + x-nullable: true + AccountSlug: + description: Account Slug + type: string + x-nullable: true AppExchange: description: Salesforce AppExchange URL type: string @@ -39,6 +67,12 @@ CompanyService: description: Image URL type: string x-nullable: true + Industries: + description: Industries + items: + $ref: "./industry.yaml#/Industry" + type: array + x-nullable: true LastModifiedByID: description: Last Modified By User ID type: string diff --git a/swagger/defs/contact.yaml b/swagger/defs/contact.yaml index 88d859a..c2e6e1c 100644 --- a/swagger/defs/contact.yaml +++ b/swagger/defs/contact.yaml @@ -19,6 +19,10 @@ Contact: description: Birthdate type: string x-nullable: true + Channels: + description: The channels associated with the track (Multiselect Picklist). + type: string + x-nullable: true CrunchbaseURL: type: string x-nullable: true diff --git a/swagger/defs/factor.yaml b/swagger/defs/factor.yaml index a7ca5a7..5bd6b96 100644 --- a/swagger/defs/factor.yaml +++ b/swagger/defs/factor.yaml @@ -23,6 +23,7 @@ Factor: LastModifiedDate: description: Last Modified Date type: string + x-nullable: true Name: description: Factor Name type: string diff --git a/swagger/defs/financial-statement.yaml b/swagger/defs/financial-statement.yaml index d54eac2..ef9494a 100644 --- a/swagger/defs/financial-statement.yaml +++ b/swagger/defs/financial-statement.yaml @@ -1,52 +1,67 @@ FinancialStatement: - type: object description: A financial statement for a company properties: - ID: - description: Record Id - type: string AccessNumber: description: EDGAR Access Number type: string + x-nullable: true AccountID: description: Account ID type: string + x-nullable: true CloudRevenue: description: Cloud Revenue type: number + x-nullable: true CreatedByID: description: Created By User ID type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true Description: description: Description type: string + x-nullable: true EdgarURL: description: EDGAR URL type: string + x-nullable: true FilingType: description: Filing Type type: string + x-nullable: true GrossProfit: description: Gross Profit type: number + x-nullable: true + ID: + description: Record Id + type: string LastModifiedByID: description: Last Modified By User ID type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string + x-nullable: true NetIncome: description: Net Income type: number + x-nullable: true PeriodEndDate: description: Period End Date type: string + x-nullable: true TotalRevenue: description: Total Revenue type: number + x-nullable: true Year: description: Year type: string + x-nullable: true + type: object diff --git a/swagger/defs/industry-company.yaml b/swagger/defs/industry-company.yaml index feeed50..6422a99 100644 --- a/swagger/defs/industry-company.yaml +++ b/swagger/defs/industry-company.yaml @@ -1,25 +1,32 @@ IndustryCompany: description: Junction object between Industry and Company properties: - ID: - description: Record Id - type: string AccountID: type: string + x-nullable: true CreatedByID: description: Created By User ID type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true + ID: + description: Record Id + type: string IndustryID: type: string + x-nullable: true LastModifiedByID: description: Last Modified By User ID type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string + x-nullable: true Path: type: string + x-nullable: true type: object diff --git a/swagger/defs/industry-product.yaml b/swagger/defs/industry-product.yaml index 56439f9..2952af2 100644 --- a/swagger/defs/industry-product.yaml +++ b/swagger/defs/industry-product.yaml @@ -17,6 +17,10 @@ IndustryProduct: description: Created Date type: string x-nullable: true + HTML: + description: HTML + type: string + x-nullable: true Industry: $ref: "./industry.yaml#/Industry" IndustryID: diff --git a/swagger/defs/research-project.yaml b/swagger/defs/research-project.yaml index ab441ec..65e34d4 100644 --- a/swagger/defs/research-project.yaml +++ b/swagger/defs/research-project.yaml @@ -5,6 +5,10 @@ ResearchProject: AccountID: type: string x-nullable: true + Channels: + description: The channels associated with the track (Multiselect Picklist). + type: string + x-nullable: true CreatedByID: type: string x-nullable: true diff --git a/swagger/external/auth-work.yaml b/swagger/external/auth-work.yaml index 363334d..208ac93 100644 --- a/swagger/external/auth-work.yaml +++ b/swagger/external/auth-work.yaml @@ -18,7 +18,7 @@ security: schemes: - "https" basePath: "/work/auth/v1" -host: "auth.work.tnxs.net:8080" +host: "gw.tnxs.net" consumes: - "application/json" produces: diff --git a/swagger/external/crm-work.yaml b/swagger/external/crm-work.yaml index 8c26ff1..c0d2e7b 100644 --- a/swagger/external/crm-work.yaml +++ b/swagger/external/crm-work.yaml @@ -16,7 +16,7 @@ securityDefinitions: schemes: - "https" basePath: "/vk/crm/v1" -host: "crm.work.tnxs.net:8080" +host: "gw.tnxs.net" consumes: - "application/json" produces: diff --git a/swagger/external/members-work.yaml b/swagger/external/members-work.yaml index afd2299..0246c49 100644 --- a/swagger/external/members-work.yaml +++ b/swagger/external/members-work.yaml @@ -16,7 +16,7 @@ securityDefinitions: schemes: - "https" basePath: "/work/members/v1" -host: "members.work.tnxs.net:8080" +host: "gw.tnxs.net" consumes: - "application/json" produces: diff --git a/swagger/external/plex-work.yaml b/swagger/external/plex-work.yaml index 29ac1e0..e834d95 100644 --- a/swagger/external/plex-work.yaml +++ b/swagger/external/plex-work.yaml @@ -16,7 +16,7 @@ securityDefinitions: schemes: - "https" basePath: "/work/plex/v1" -host: "plex.work.tnxs.net:8080" +host: "gw.tnxs.net" consumes: - "application/json" produces: diff --git a/swagger/external/research-work.yaml b/swagger/external/research-work.yaml index 0076b82..7c01582 100644 --- a/swagger/external/research-work.yaml +++ b/swagger/external/research-work.yaml @@ -16,7 +16,7 @@ securityDefinitions: schemes: - "https" basePath: "/vk/research/v1" -host: "research.work.tnxs.net:8080" +host: "gw.tnxs.net" consumes: - "application/json" produces: @@ -1193,125 +1193,12 @@ definitions: Meta: $ref: "#/definitions/ResponseMeta" type: object - CompanyProduct: - description: A software product or service vended by a Company - properties: - AccountID: - description: ID of the Company that owns this Product - type: string - x-nullable: true - AccountNumber: - description: Account Number - type: string - x-nullable: true - AccountName: - description: Account Name - type: string - x-nullable: true - AccountPublish: - description: Account Publish - type: boolean - x-nullable: true - AccountWebsite: - description: Account Website - type: string - x-nullable: true - AccountEmail: - description: Account Email - type: string - x-nullable: true - AccountLogo: - description: Account Logo - type: string - x-nullable: true - AccountSlug: - description: Account Slug - type: string - x-nullable: true - AppExchange: - description: Salesforce AppExchange URL - type: string - x-nullable: true - CreatedByID: - description: Created By User ID - type: string - x-nullable: true - CreatedDate: - description: Created Date - type: string - x-nullable: true - Description: - description: Description of product - type: string - x-nullable: true - FullDescription: - description: Full Description of product - type: string - x-nullable: true - ID: - description: Record Id - type: string - ImageAltText: - description: Image Alt Text - type: string - x-nullable: true - ImageURL: - description: Image URL - type: string - x-nullable: true - Industries: - description: Industries - items: - $ref: "#/definitions/Industry" - type: array - x-nullable: true - LastModifiedByID: - description: Last Modified By User ID - type: string - x-nullable: true - LastModifiedDate: - description: Last Modified Date - type: string - x-nullable: true - Logo: - description: Logo - type: string - x-nullable: true - Name: - description: Product Name - type: string - x-nullable: true - ProductVideoID: - description: Product Video ID - type: string - x-nullable: true - Published: - description: Published - type: boolean - x-nullable: true - SalesforceSpecific: - description: Salesforce Specific - type: boolean - x-nullable: true - Slug: - description: Slug - type: string - x-nullable: true - TagLine: - description: TagLine - type: string - x-nullable: true - URL: - description: Website - type: string - x-nullable: true - type: object CompanyProductRequest: description: An array of CompanyProduct objects submitted for processing properties: Data: items: - $ref: "#/definitions/CompanyProduct" + $ref: "../../lib/swagger/defs/company-product.yaml#/CompanyProduct" type: array type: object CompanyProductResponse: @@ -1319,129 +1206,17 @@ definitions: properties: Data: items: - $ref: "#/definitions/CompanyProduct" + $ref: "../../lib/swagger/defs/company-product.yaml#/CompanyProduct" type: array Meta: $ref: "#/definitions/ResponseMeta" type: object - CompanyService: - description: A service performed by a Company - properties: - ID: - description: Record Id - type: string - AccountID: - description: ID of the Company that owns this Service - type: string - AccountNumber: - description: Account Number - type: string - x-nullable: true - AccountName: - description: Account Name - type: string - x-nullable: true - AccountPublish: - description: Account Publish - type: boolean - x-nullable: true - AccountWebsite: - description: Account Website - type: string - x-nullable: true - AccountEmail: - description: Account Email - type: string - x-nullable: true - AccountLogo: - description: Account Logo - type: string - x-nullable: true - AccountSlug: - description: Account Slug - type: string - x-nullable: true - AppExchange: - description: Salesforce AppExchange URL - type: string - x-nullable: true - CreatedByID: - description: Created By User ID - type: string - x-nullable: true - CreatedDate: - description: Created Date - type: string - x-nullable: true - Description: - description: Description of service - type: string - x-nullable: true - FullDescription: - description: Full Description of service - type: string - x-nullable: true - ImageAltText: - description: Image Alt Text - type: string - x-nullable: true - ImageURL: - description: Image URL - type: string - x-nullable: true - Industries: - description: Industries - items: - $ref: "#/definitions/Industry" - type: array - x-nullable: true - LastModifiedByID: - description: Last Modified By User ID - type: string - x-nullable: true - LastModifiedDate: - description: Last Modified Date - type: string - x-nullable: true - Logo: - description: Logo - type: string - x-nullable: true - Name: - description: Service Name - type: string - x-nullable: true - Published: - description: Published - type: boolean - x-nullable: true - SalesforceSpecific: - description: Salesforce Specific - type: boolean - x-nullable: true - ServiceVideoID: - description: Service Video ID - type: string - x-nullable: true - Slug: - description: Slug - type: string - x-nullable: true - TagLine: - description: Tag Line - type: string - x-nullable: true - URL: - description: URL - type: string - x-nullable: true - type: object CompanyServiceRequest: description: An array of CompanyService objects submitted for processing properties: Data: items: - $ref: "#/definitions/CompanyService" + $ref: "../../lib/swagger/defs/company-service.yaml#/CompanyService" type: array type: object CompanyServiceResponse: @@ -1449,7 +1224,7 @@ definitions: properties: Data: items: - $ref: "#/definitions/CompanyService" + $ref: "../../lib/swagger/defs/company-service.yaml#/CompanyService" type: array Meta: $ref: "#/definitions/ResponseMeta" @@ -1465,57 +1240,12 @@ definitions: type: object Error: $ref: ../../lib/swagger/defs/error.yaml#/Error - Factor: - description: A Factor of analysis within a research topic - properties: - CreatedByID: - description: Created By User ID - type: string - x-nullable: true - CreatedDate: - description: Created Date - type: string - x-nullable: true - Description: - description: Topic Description - type: string - x-nullable: true - ID: - description: Record Id - type: string - LastModifiedByID: - description: Last Modified By User ID - type: string - x-nullable: true - LastModifiedDate: - description: Last Modified Date - type: string - x-nullable: true - Name: - description: Factor Name - type: string - x-nullable: true - Observations: - description: The list of Observations used to analyze this industry - items: - $ref: "#/definitions/Observation" - type: array - x-nullable: true - Slug: - description: The slug of the corresponding page on the CMS - type: string - x-nullable: true - TopicID: - description: The ID of the Topic that owns this Factor - type: string - x-nullable: true - type: object FactorRequest: description: An array of Factor objects submitted for processing properties: Data: items: - $ref: "#/definitions/Factor" + $ref: ../../lib/swagger/defs/factor.yaml#/Factor type: array type: object FactorResponse: @@ -1523,84 +1253,17 @@ definitions: properties: Data: items: - $ref: "#/definitions/Factor" + $ref: ../../lib/swagger/defs/factor.yaml#/Factor type: array Meta: $ref: "#/definitions/ResponseMeta" type: object - FinancialStatement: - description: A financial statement for a company - properties: - AccessNumber: - description: EDGAR Access Number - type: string - x-nullable: true - AccountID: - description: Account ID - type: string - x-nullable: true - CloudRevenue: - description: Cloud Revenue - type: number - x-nullable: true - CreatedByID: - description: Created By User ID - type: string - x-nullable: true - CreatedDate: - description: Created Date - type: string - x-nullable: true - Description: - description: Description - type: string - x-nullable: true - EdgarURL: - description: EDGAR URL - type: string - x-nullable: true - FilingType: - description: Filing Type - type: string - x-nullable: true - GrossProfit: - description: Gross Profit - type: number - x-nullable: true - ID: - description: Record Id - type: string - LastModifiedByID: - description: Last Modified By User ID - type: string - x-nullable: true - LastModifiedDate: - description: Last Modified Date - type: string - x-nullable: true - NetIncome: - description: Net Income - type: number - x-nullable: true - PeriodEndDate: - description: Period End Date - type: string - x-nullable: true - TotalRevenue: - description: Total Revenue - type: number - x-nullable: true - Year: - description: Year - type: string - x-nullable: true - type: object FinancialStatementRequest: description: An array of FinancialStatement objects submitted for processing properties: Data: items: - $ref: "#/definitions/FinancialStatement" + $ref: "../../lib/swagger/defs/financial-statement.yaml#/FinancialStatement" type: array type: object FinancialStatementResponse: @@ -1608,132 +1271,17 @@ definitions: properties: Data: items: - $ref: "#/definitions/FinancialStatement" + $ref: "../../lib/swagger/defs/financial-statement.yaml#/FinancialStatement" type: array Meta: $ref: "#/definitions/ResponseMeta" type: object - Industry: - description: An industry that is being researched - properties: - ID: - description: Record Id - type: string - CompanyProducts: - description: The list of Products in this industry - items: - $ref: "#/definitions/CompanyProduct" - type: array - x-nullable: true - CompanyServices: - description: The list of Services in this industry - items: - $ref: "#/definitions/CompanyService" - type: array - x-nullable: true - CreatedByID: - description: Created By User ID - type: string - x-nullable: true - CreatedDate: - description: Created Date - type: string - x-nullable: true - Description: - description: Industry Description - type: string - x-nullable: true - ImageAltText: - description: Image Alt Text - type: string - x-nullable: true - ImageURL: - description: Image URL - type: string - x-nullable: true - LastModifiedByID: - description: Last Modified By User ID - type: string - x-nullable: true - LastModifiedDate: - description: Last Modified Date - type: string - x-nullable: true - Level: - description: The hierarchical level of this Industry - type: string - x-nullable: true - Logo: - description: Logo - type: string - x-nullable: true - Name: - description: Industry Name - type: string - x-nullable: true - ParentIndustryID: - description: The ID of the Parent Industry - type: string - x-nullable: true - Path: - description: The full path of this industry, including Parent - type: string - x-nullable: true - ProductCategory: - description: Is this industry a product category? - type: boolean - x-nullable: true - ServiceCategory: - description: Is this industry a service category? - type: boolean - x-nullable: true - Slug: - description: The CMS Slug for this Industry - type: string - x-nullable: true - TagLine: - description: TagLine - type: string - x-nullable: true - type: object - IndustryCompany: - description: Junction object between Industry and Company - properties: - AccountID: - type: string - x-nullable: true - CreatedByID: - description: Created By User ID - type: string - x-nullable: true - CreatedDate: - description: Created Date - type: string - x-nullable: true - ID: - description: Record Id - type: string - IndustryID: - type: string - x-nullable: true - LastModifiedByID: - description: Last Modified By User ID - type: string - x-nullable: true - LastModifiedDate: - description: Last Modified Date - type: string - x-nullable: true - Path: - type: string - x-nullable: true - type: object IndustryCompanyRequest: description: An array of IndustryCompany objects submitted for processing properties: Data: items: - $ref: "#/definitions/IndustryCompany" + $ref: "../../lib/swagger/defs/industry-company.yaml#/IndustryCompany" type: array type: object IndustryCompanyResponse: @@ -1741,49 +1289,17 @@ definitions: properties: Data: items: - $ref: "#/definitions/IndustryCompany" + $ref: "../../lib/swagger/defs/industry-company.yaml#/IndustryCompany" type: array Meta: $ref: "#/definitions/ResponseMeta" type: object - IndustryProduct: - description: Junction object between Industry and CompanyProduct - properties: - CompanyProductID: - type: string - x-nullable: true - CreatedByID: - description: Created By User ID - type: string - x-nullable: true - CreatedDate: - description: Created Date - type: string - x-nullable: true - HTML: - type: string - x-nullable: true - ID: - description: Record Id - type: string - IndustryID: - type: string - x-nullable: true - LastModifiedByID: - description: Last Modified By User ID - type: string - x-nullable: true - LastModifiedDate: - description: Last Modified Date - type: string - x-nullable: true - type: object IndustryProductRequest: description: An array of IndustryProduct objects submitted for processing properties: Data: items: - $ref: "#/definitions/IndustryProduct" + $ref: "../../lib/swagger/defs/industry-product.yaml#/IndustryProduct" type: array type: object IndustryProductResponse: @@ -1791,50 +1307,17 @@ definitions: properties: Data: items: - $ref: "#/definitions/IndustryProduct" + $ref: "../../lib/swagger/defs/industry-product.yaml#/IndustryProduct" type: array Meta: $ref: "#/definitions/ResponseMeta" type: object - IndustryService: - description: Junction Object bewtwen Industry and CompanyService - properties: - ID: - description: Record Id - type: string - CompanyService: - $ref: "#/definitions/CompanyService" - CompanyServiceID: - type: string - x-nullable: true - CreatedByID: - description: Created By User ID - type: string - x-nullable: true - CreatedDate: - description: Created Date - type: string - x-nullable: true - Industry: - $ref: "#/definitions/Industry" - IndustryID: - type: string - x-nullable: true - LastModifiedByID: - description: Last Modified By User ID - type: string - x-nullable: true - LastModifiedDate: - description: Last Modified Date - type: string - x-nullable: true - type: object IndustryServiceRequest: description: An array of IndustryService objects submitted for processing properties: Data: items: - $ref: "#/definitions/IndustryService" + $ref: "../../lib/swagger/defs/industry-service.yaml#/IndustryService" type: array type: object IndustryServiceResponse: @@ -1842,7 +1325,7 @@ definitions: properties: Data: items: - $ref: "#/definitions/IndustryService" + $ref: "../../lib/swagger/defs/industry-service.yaml#/IndustryService" type: array Meta: $ref: "#/definitions/ResponseMeta" @@ -1852,7 +1335,7 @@ definitions: properties: Data: items: - $ref: "#/definitions/Industry" + $ref: "../../lib/swagger/defs/industry.yaml#/Industry" type: array type: object IndustryResponse: @@ -1860,7 +1343,7 @@ definitions: properties: Data: items: - $ref: "#/definitions/Industry" + $ref: "../../lib/swagger/defs/industry.yaml#/Industry" type: array Meta: $ref: "#/definitions/ResponseMeta" @@ -1884,59 +1367,12 @@ definitions: format: int64 type: number type: object - Observation: - description: A data point collected while analyzing a Factor - properties: - AccountID: - description: The ID of the Company being analyzed - type: string - x-nullable: true - CompanyProductID: - description: The ID of the Product being analyzed - type: string - x-nullable: true - CreatedByID: - description: Created By User ID - type: string - x-nullable: true - CreatedDate: - description: Created Date - type: string - x-nullable: true - Description: - description: Notes concerning data collection - type: string - x-nullable: true - FactorID: - description: The ID of the Factor that owns this Observation - type: string - x-nullable: true - ID: - description: Record Id - type: string - LastModifiedByID: - description: Last Modified By User ID - type: string - x-nullable: true - LastModifiedDate: - description: Last Modified Date - type: string - x-nullable: true - SubjectType: - description: Is the subject a Company or a Product? - type: string - x-nullable: true - Value: - description: The data point collected - type: string - x-nullable: true - type: object ObservationRequest: description: An array of Observation objects submitted for processing properties: Data: items: - $ref: "#/definitions/Observation" + $ref: "../../lib/swagger/defs/observation.yaml#/Observation" type: array type: object ObservationResponse: @@ -1944,7 +1380,7 @@ definitions: properties: Data: items: - $ref: "#/definitions/Observation" + $ref: "../../lib/swagger/defs/observation.yaml#/Observation" type: array Meta: $ref: "#/definitions/ResponseMeta" @@ -2028,7 +1464,7 @@ definitions: Factors: description: The list of Factors used to analyze this industry items: - $ref: "#/definitions/Factor" + $ref: "../../lib/swagger/defs/factor.yaml#/Factor" type: array x-nullable: true ID: diff --git a/swagger/external/sf-gate-work.yaml b/swagger/external/sf-gate-work.yaml index b9c450c..23acfd0 100644 --- a/swagger/external/sf-gate-work.yaml +++ b/swagger/external/sf-gate-work.yaml @@ -16,7 +16,7 @@ securityDefinitions: schemes: - "https" basePath: "/work/sf-gate/v1" -host: "sf-gate.work.tnxs.net:8080" +host: "gw.tnxs.net" consumes: - "application/json" produces: @@ -250,7 +250,7 @@ parameters: name: financialStatementRequest required: true schema: - $ref: "#/definitions/FinancialStatement" + $ref: "#/definitions/FinancialStatementRequest" industryIdQuery: description: Industry record ID in: query @@ -3681,85 +3681,11 @@ definitions: meta: $ref: "#/definitions/ResponseMeta" type: object - CompanyProduct: - description: A software product or service vended by a Company - properties: - AccountID: - description: ID of the Company that owns this Product - type: string - CreatedByID: - description: Created By User ID - type: string - x-nullable: true - CreatedDate: - description: Created Date - type: string - x-nullable: true - Description: - description: Description of product - type: string - x-nullable: true - FullDescription: - description: Full Description of product - type: string - x-nullable: true - ID: - description: Record Id - type: string - ImageAltText: - description: Image Alt Text - type: string - x-nullable: true - ImageURL: - description: Image URL - type: string - x-nullable: true - LastModifiedByID: - description: Last Modified By User ID - type: string - x-nullable: true - LastModifiedDate: - description: Last Modified Date - type: string - x-nullable: true - Logo: - description: Logo - type: string - x-nullable: true - Name: - description: Product Name - type: string - x-nullable: true - ProductVideoID: - description: Product Video ID - type: string - x-nullable: true - Published: - description: Published - type: boolean - x-nullable: true - SalesforceSpecific: - description: Salesforce Specific - type: boolean - x-nullable: true - Slug: - description: Slug - type: string - x-nullable: true - TagLine: - description: TagLine - type: string - x-nullable: true - URL: - description: Website - type: string - x-nullable: true - type: object CompanyProductRequest: properties: data: items: - $ref: "#/definitions/CompanyProduct" + $ref: "../../lib/swagger/defs/company-product.yaml#/CompanyProduct" type: array meta: $ref: "#/definitions/RequestMeta" @@ -3770,101 +3696,17 @@ definitions: properties: data: items: - $ref: "#/definitions/CompanyProduct" + $ref: "../../lib/swagger/defs/company-product.yaml#/CompanyProduct" type: array meta: $ref: "#/definitions/ResponseMeta" type: object - CompanyService: - description: A service performed by a Company - properties: - ID: - description: Record Id - type: string - AccountID: - description: ID of the Company that owns this Service - type: string - AppExchange: - description: Salesforce AppExchange URL - type: string - x-nullable: true - CreatedByID: - description: Created By User ID - type: string - x-nullable: true - CreatedDate: - description: Created Date - type: string - x-nullable: true - Description: - description: Description of service - type: string - x-nullable: true - FullDescription: - description: Full Description of service - type: string - x-nullable: true - ImageAltText: - description: Image Alt Text - type: string - x-nullable: true - ImageURL: - description: Image URL - type: string - x-nullable: true - Industries: - description: Industries - items: - $ref: "../../lib/swagger/defs/industry.yaml#/Industry" - type: array - x-nullable: true - LastModifiedByID: - description: Last Modified By User ID - type: string - x-nullable: true - LastModifiedDate: - description: Last Modified Date - type: string - x-nullable: true - Logo: - description: Logo - type: string - x-nullable: true - Name: - description: Service Name - type: string - x-nullable: true - Published: - description: Published - type: boolean - x-nullable: true - SalesforceSpecific: - description: Salesforce Specific - type: boolean - x-nullable: true - ServiceVideoID: - description: Service Video ID - type: string - x-nullable: true - Slug: - description: Slug - type: string - x-nullable: true - TagLine: - description: Tag Line - type: string - x-nullable: true - URL: - description: URL - type: string - x-nullable: true - type: object CompanyServiceRequest: description: An array of CompanyService objects submitted for processing properties: Data: items: - $ref: "#/definitions/CompanyService" + $ref: "../../lib/swagger/defs/company-service.yaml#/CompanyService" type: array type: object CompanyServiceResponse: @@ -3872,7 +3714,7 @@ definitions: properties: Data: items: - $ref: "#/definitions/CompanyService" + $ref: "../../lib/swagger/defs/company-service.yaml#/CompanyService" type: array Meta: $ref: "#/definitions/ResponseMeta" @@ -4315,57 +4157,12 @@ definitions: Message: type: string type: object - Factor: - description: A Factor of analysis within a research topic - properties: - CreatedByID: - description: Created By User ID - type: string - x-nullable: true - CreatedDate: - description: Created Date - type: string - x-nullable: true - Description: - description: Topic Description - type: string - x-nullable: true - ID: - description: Record Id - type: string - LastModifiedByID: - description: Last Modified By User ID - type: string - x-nullable: true - LastModifiedDate: - description: Last Modified Date - type: string - x-nullable: true - Name: - description: Factor Name - type: string - x-nullable: true - Observations: - description: The list of Observations used to analyze this industry - items: - $ref: "#/definitions/Observation" - type: array - x-nullable: true - Slug: - description: The slug of the corresponding page on the CMS - type: string - x-nullable: true - TopicID: - description: The ID of the Topic that owns this Factor - type: string - x-nullable: true - type: object FactorRequest: description: An array of Factor objects submitted for processing properties: Data: items: - $ref: "#/definitions/Factor" + $ref: ../../lib/swagger/defs/factor.yaml#/Factor type: array type: object FactorResponse: @@ -4373,7 +4170,7 @@ definitions: properties: Data: items: - $ref: "#/definitions/Factor" + $ref: ../../lib/swagger/defs/factor.yaml#/Factor type: array Meta: $ref: "#/definitions/ResponseMeta" @@ -4396,79 +4193,12 @@ definitions: $ref: "../../lib/swagger/defs/favorite.yaml#/Favorite" type: array type: object - FinancialStatement: - description: A financial statement for a company - properties: - AccessNumber: - description: EDGAR Access Number - type: string - x-nullable: true - AccountID: - description: Account ID - type: string - x-nullable: true - CloudRevenue: - description: Cloud Revenue - type: number - x-nullable: true - CreatedByID: - description: Created By User ID - type: string - x-nullable: true - CreatedDate: - description: Created Date - type: string - x-nullable: true - Description: - description: Description - type: string - x-nullable: true - EdgarURL: - description: EDGAR URL - type: string - x-nullable: true - FilingType: - description: Filing Type - type: string - x-nullable: true - GrossProfit: - description: Gross Profit - type: number - x-nullable: true - ID: - description: Record Id - type: string - LastModifiedByID: - description: Last Modified By User ID - type: string - x-nullable: true - LastModifiedDate: - description: Last Modified Date - type: string - x-nullable: true - NetIncome: - description: Net Income - type: number - x-nullable: true - PeriodEndDate: - description: Period End Date - type: string - x-nullable: true - TotalRevenue: - description: Total Revenue - type: number - x-nullable: true - Year: - description: Year - type: string - x-nullable: true - type: object FinancialStatementRequest: description: An array of FinancialStatement objects submitted for processing properties: Data: items: - $ref: "#/definitions/FinancialStatement" + $ref: "../../lib/swagger/defs/financial-statement.yaml#/FinancialStatement" type: array type: object FinancialStatementResponse: @@ -4476,49 +4206,17 @@ definitions: properties: Data: items: - $ref: "#/definitions/FinancialStatement" + $ref: "../../lib/swagger/defs/financial-statement.yaml#/FinancialStatement" type: array Meta: $ref: "#/definitions/ResponseMeta" type: object - IndustryCompany: - description: Junction object between Industry and Company - properties: - CompanyID: - type: string - x-nullable: true - CreatedByID: - description: Created By User ID - type: string - x-nullable: true - CreatedDate: - description: Created Date - type: string - x-nullable: true - ID: - description: Record Id - type: string - IndustryID: - type: string - x-nullable: true - LastModifiedByID: - description: Last Modified By User ID - type: string - x-nullable: true - LastModifiedDate: - description: Last Modified Date - type: string - x-nullable: true - Path: - type: string - x-nullable: true - type: object IndustryCompanyRequest: description: An array of IndustryCompany objects submitted for processing properties: Data: items: - $ref: "#/definitions/IndustryCompany" + $ref: "../../lib/swagger/defs/industry-company.yaml#/IndustryCompany" type: array type: object IndustryCompanyResponse: @@ -4526,50 +4224,17 @@ definitions: properties: Data: items: - $ref: "#/definitions/IndustryCompany" + $ref: "../../lib/swagger/defs/industry-company.yaml#/IndustryCompany" type: array Meta: $ref: "#/definitions/ResponseMeta" type: object - IndustryProduct: - description: Junction object between Industry and CompanyProduct - properties: - CompanyProduct: - $ref: "#/definitions/CompanyProduct" - CompanyProductID: - type: string - x-nullable: true - CreatedByID: - description: Created By User ID - type: string - x-nullable: true - CreatedDate: - description: Created Date - type: string - x-nullable: true - ID: - description: Record Id - type: string - Industry: - $ref: "../../lib/swagger/defs/industry.yaml#/Industry" - IndustryID: - type: string - x-nullable: true - LastModifiedByID: - description: Last Modified By User ID - type: string - x-nullable: true - LastModifiedDate: - description: Last Modified Date - type: string - x-nullable: true - type: object IndustryProductRequest: description: An array of IndustryProduct objects submitted for processing properties: Data: items: - $ref: "#/definitions/IndustryProduct" + $ref: "../../lib/swagger/defs/industry-product.yaml#/IndustryProduct" type: array type: object IndustryProductResponse: @@ -4577,50 +4242,17 @@ definitions: properties: Data: items: - $ref: "#/definitions/IndustryProduct" + $ref: "../../lib/swagger/defs/industry-product.yaml#/IndustryProduct" type: array Meta: $ref: "#/definitions/ResponseMeta" type: object - IndustryService: - description: Junction Object between Industry and CompanyService - properties: - ID: - description: Record Id - type: string - CompanyService: - $ref: "#/definitions/CompanyService" - CompanyServiceID: - type: string - x-nullable: true - CreatedByID: - description: Created By User ID - type: string - x-nullable: true - CreatedDate: - description: Created Date - type: string - x-nullable: true - Industry: - $ref: "../../lib/swagger/defs/industry.yaml#/Industry" - IndustryID: - type: string - x-nullable: true - LastModifiedByID: - description: Last Modified By User ID - type: string - x-nullable: true - LastModifiedDate: - description: Last Modified Date - type: string - x-nullable: true - type: object IndustryServiceRequest: description: An array of IndustryService objects submitted for processing properties: Data: items: - $ref: "#/definitions/IndustryService" + $ref: "../../lib/swagger/defs/industry-service.yaml#/IndustryService" type: array type: object IndustryServiceResponse: @@ -4628,7 +4260,7 @@ definitions: properties: Data: items: - $ref: "#/definitions/IndustryService" + $ref: "../../lib/swagger/defs/industry-service.yaml#/IndustryService" type: array Meta: $ref: "#/definitions/ResponseMeta" @@ -4671,59 +4303,12 @@ definitions: format: int64 type: number type: object - Observation: - description: A data point collected while analyzing a Factor - properties: - AccountID: - description: The ID of the Company being analyzed - type: string - x-nullable: true - CompanyProductID: - description: The ID of the Product being analyzed - type: string - x-nullable: true - CreatedByID: - description: Created By User ID - type: string - x-nullable: true - CreatedDate: - description: Created Date - type: string - x-nullable: true - Description: - description: Notes concerning data collection - type: string - x-nullable: true - FactorID: - description: The ID of the Factor that owns this Observation - type: string - x-nullable: true - ID: - description: Record Id - type: string - LastModifiedByID: - description: Last Modified By User ID - type: string - x-nullable: true - LastModifiedDate: - description: Last Modified Date - type: string - x-nullable: true - SubjectType: - description: Is the subject a Company or a Product? - type: string - x-nullable: true - Value: - description: The data point collected - type: string - x-nullable: true - type: object ObservationRequest: description: An array of Observation objects submitted for processing properties: Data: items: - $ref: "#/definitions/Observation" + $ref: "../../lib/swagger/defs/observation.yaml#/Observation" type: array type: object ObservationResponse: @@ -4731,7 +4316,7 @@ definitions: properties: Data: items: - $ref: "#/definitions/Observation" + $ref: "../../lib/swagger/defs/observation.yaml#/Observation" type: array Meta: $ref: "#/definitions/ResponseMeta" @@ -5137,7 +4722,7 @@ definitions: Factors: description: The list of Factors used to analyze this industry items: - $ref: "#/definitions/Factor" + $ref: "../../lib/swagger/defs/factor.yaml#/Factor" type: array x-nullable: true ID: @@ -5716,7 +5301,7 @@ definitions: properties: Data: items: - $ref: "#/definitions/Prompt" + $ref: "../../lib/swagger/defs/prompt.yaml#/Prompt" type: array type: object PromptResponse: @@ -5724,7 +5309,7 @@ definitions: properties: Data: items: - $ref: "#/definitions/Prompt" + $ref: "../../lib/swagger/defs/prompt.yaml#/Prompt" type: array Meta: $ref: "#/definitions/ResponseMeta" @@ -5765,104 +5350,3 @@ definitions: Meta: $ref: "#/definitions/ResponseMeta" type: object - Prompt: - description: A prompt - properties: - ID: - description: Record Id - type: string - CreatedByID: - description: The ID of the user who created the prompt - type: string - x-nullable: true - CreatedDate: - description: The date the prompt was created - type: string - x-nullable: true - Icon: - description: The icon for the prompt - type: string - x-nullable: true - ImageAltText: - description: The alt text for the prompt image - type: string - x-nullable: true - ImageURL: - description: The URL of the prompt image - type: string - x-nullable: true - LastModifiedByID: - description: The ID of the user who last modified the prompt - type: string - x-nullable: true - LastModifiedDate: - description: The date the prompt was last modified - type: string - x-nullable: true - Logo: - description: The logo for the prompt - type: string - x-nullable: true - Model: - description: The model for the prompt - type: string - x-nullable: true - Name: - description: The name of the prompt - type: string - x-nullable: true - Order: - description: The order of the prompt - type: number - x-nullable: true - Parameters: - description: A list of parameters encoded as JSON - type: string - x-nullable: true - Prompt: - description: The prompt text - type: string - x-nullable: true - PromptCategoryID: - description: The ID of the prompt category - type: string - x-nullable: true - ResearchProjectIDs: - description: A list of research project IDs - items: - type: string - type: array - x-nullable: true - Slug: - description: The slug for the prompt - type: string - x-nullable: true - SystemPrompt: - description: The System prompt to be used - type: string - x-nullable: true - Tags: - description: A list of tags (from salesforce newline separated) - type: string - x-nullable: true - Temperature: - description: The temperature of the prompt - type: number - x-nullable: true - TenantID: - description: The ID of the tenant - type: string - x-nullable: true - Title: - description: The title of the prompt - type: string - x-nullable: true - UsedCount: - description: The number of times the prompt has been used - type: number - x-nullable: true - UserID: - description: The ID of the user who created the prompt - type: string - x-nullable: true - type: object diff --git a/swagger/research-work.yaml b/swagger/research-work.yaml index 54fd0ca..e8da863 100644 --- a/swagger/research-work.yaml +++ b/swagger/research-work.yaml @@ -1193,125 +1193,12 @@ definitions: Meta: $ref: "#/definitions/ResponseMeta" type: object - CompanyProduct: - description: A software product or service vended by a Company - properties: - AccountID: - description: ID of the Company that owns this Product - type: string - x-nullable: true - AccountNumber: - description: Account Number - type: string - x-nullable: true - AccountName: - description: Account Name - type: string - x-nullable: true - AccountPublish: - description: Account Publish - type: boolean - x-nullable: true - AccountWebsite: - description: Account Website - type: string - x-nullable: true - AccountEmail: - description: Account Email - type: string - x-nullable: true - AccountLogo: - description: Account Logo - type: string - x-nullable: true - AccountSlug: - description: Account Slug - type: string - x-nullable: true - AppExchange: - description: Salesforce AppExchange URL - type: string - x-nullable: true - CreatedByID: - description: Created By User ID - type: string - x-nullable: true - CreatedDate: - description: Created Date - type: string - x-nullable: true - Description: - description: Description of product - type: string - x-nullable: true - FullDescription: - description: Full Description of product - type: string - x-nullable: true - ID: - description: Record Id - type: string - ImageAltText: - description: Image Alt Text - type: string - x-nullable: true - ImageURL: - description: Image URL - type: string - x-nullable: true - Industries: - description: Industries - items: - $ref: "#/definitions/Industry" - type: array - x-nullable: true - LastModifiedByID: - description: Last Modified By User ID - type: string - x-nullable: true - LastModifiedDate: - description: Last Modified Date - type: string - x-nullable: true - Logo: - description: Logo - type: string - x-nullable: true - Name: - description: Product Name - type: string - x-nullable: true - ProductVideoID: - description: Product Video ID - type: string - x-nullable: true - Published: - description: Published - type: boolean - x-nullable: true - SalesforceSpecific: - description: Salesforce Specific - type: boolean - x-nullable: true - Slug: - description: Slug - type: string - x-nullable: true - TagLine: - description: TagLine - type: string - x-nullable: true - URL: - description: Website - type: string - x-nullable: true - type: object CompanyProductRequest: description: An array of CompanyProduct objects submitted for processing properties: Data: items: - $ref: "#/definitions/CompanyProduct" + $ref: "../../lib/swagger/defs/company-product.yaml#/CompanyProduct" type: array type: object CompanyProductResponse: @@ -1319,129 +1206,17 @@ definitions: properties: Data: items: - $ref: "#/definitions/CompanyProduct" + $ref: "../../lib/swagger/defs/company-product.yaml#/CompanyProduct" type: array Meta: $ref: "#/definitions/ResponseMeta" type: object - CompanyService: - description: A service performed by a Company - properties: - ID: - description: Record Id - type: string - AccountID: - description: ID of the Company that owns this Service - type: string - AccountNumber: - description: Account Number - type: string - x-nullable: true - AccountName: - description: Account Name - type: string - x-nullable: true - AccountPublish: - description: Account Publish - type: boolean - x-nullable: true - AccountWebsite: - description: Account Website - type: string - x-nullable: true - AccountEmail: - description: Account Email - type: string - x-nullable: true - AccountLogo: - description: Account Logo - type: string - x-nullable: true - AccountSlug: - description: Account Slug - type: string - x-nullable: true - AppExchange: - description: Salesforce AppExchange URL - type: string - x-nullable: true - CreatedByID: - description: Created By User ID - type: string - x-nullable: true - CreatedDate: - description: Created Date - type: string - x-nullable: true - Description: - description: Description of service - type: string - x-nullable: true - FullDescription: - description: Full Description of service - type: string - x-nullable: true - ImageAltText: - description: Image Alt Text - type: string - x-nullable: true - ImageURL: - description: Image URL - type: string - x-nullable: true - Industries: - description: Industries - items: - $ref: "#/definitions/Industry" - type: array - x-nullable: true - LastModifiedByID: - description: Last Modified By User ID - type: string - x-nullable: true - LastModifiedDate: - description: Last Modified Date - type: string - x-nullable: true - Logo: - description: Logo - type: string - x-nullable: true - Name: - description: Service Name - type: string - x-nullable: true - Published: - description: Published - type: boolean - x-nullable: true - SalesforceSpecific: - description: Salesforce Specific - type: boolean - x-nullable: true - ServiceVideoID: - description: Service Video ID - type: string - x-nullable: true - Slug: - description: Slug - type: string - x-nullable: true - TagLine: - description: Tag Line - type: string - x-nullable: true - URL: - description: URL - type: string - x-nullable: true - type: object CompanyServiceRequest: description: An array of CompanyService objects submitted for processing properties: Data: items: - $ref: "#/definitions/CompanyService" + $ref: "../../lib/swagger/defs/company-service.yaml#/CompanyService" type: array type: object CompanyServiceResponse: @@ -1449,7 +1224,7 @@ definitions: properties: Data: items: - $ref: "#/definitions/CompanyService" + $ref: "../../lib/swagger/defs/company-service.yaml#/CompanyService" type: array Meta: $ref: "#/definitions/ResponseMeta" @@ -1465,57 +1240,12 @@ definitions: type: object Error: $ref: ../../lib/swagger/defs/error.yaml#/Error - Factor: - description: A Factor of analysis within a research topic - properties: - CreatedByID: - description: Created By User ID - type: string - x-nullable: true - CreatedDate: - description: Created Date - type: string - x-nullable: true - Description: - description: Topic Description - type: string - x-nullable: true - ID: - description: Record Id - type: string - LastModifiedByID: - description: Last Modified By User ID - type: string - x-nullable: true - LastModifiedDate: - description: Last Modified Date - type: string - x-nullable: true - Name: - description: Factor Name - type: string - x-nullable: true - Observations: - description: The list of Observations used to analyze this industry - items: - $ref: "#/definitions/Observation" - type: array - x-nullable: true - Slug: - description: The slug of the corresponding page on the CMS - type: string - x-nullable: true - TopicID: - description: The ID of the Topic that owns this Factor - type: string - x-nullable: true - type: object FactorRequest: description: An array of Factor objects submitted for processing properties: Data: items: - $ref: "#/definitions/Factor" + $ref: ../../lib/swagger/defs/factor.yaml#/Factor type: array type: object FactorResponse: @@ -1523,84 +1253,17 @@ definitions: properties: Data: items: - $ref: "#/definitions/Factor" + $ref: ../../lib/swagger/defs/factor.yaml#/Factor type: array Meta: $ref: "#/definitions/ResponseMeta" type: object - FinancialStatement: - description: A financial statement for a company - properties: - AccessNumber: - description: EDGAR Access Number - type: string - x-nullable: true - AccountID: - description: Account ID - type: string - x-nullable: true - CloudRevenue: - description: Cloud Revenue - type: number - x-nullable: true - CreatedByID: - description: Created By User ID - type: string - x-nullable: true - CreatedDate: - description: Created Date - type: string - x-nullable: true - Description: - description: Description - type: string - x-nullable: true - EdgarURL: - description: EDGAR URL - type: string - x-nullable: true - FilingType: - description: Filing Type - type: string - x-nullable: true - GrossProfit: - description: Gross Profit - type: number - x-nullable: true - ID: - description: Record Id - type: string - LastModifiedByID: - description: Last Modified By User ID - type: string - x-nullable: true - LastModifiedDate: - description: Last Modified Date - type: string - x-nullable: true - NetIncome: - description: Net Income - type: number - x-nullable: true - PeriodEndDate: - description: Period End Date - type: string - x-nullable: true - TotalRevenue: - description: Total Revenue - type: number - x-nullable: true - Year: - description: Year - type: string - x-nullable: true - type: object FinancialStatementRequest: description: An array of FinancialStatement objects submitted for processing properties: Data: items: - $ref: "#/definitions/FinancialStatement" + $ref: "../../lib/swagger/defs/financial-statement.yaml#/FinancialStatement" type: array type: object FinancialStatementResponse: @@ -1608,132 +1271,17 @@ definitions: properties: Data: items: - $ref: "#/definitions/FinancialStatement" + $ref: "../../lib/swagger/defs/financial-statement.yaml#/FinancialStatement" type: array Meta: $ref: "#/definitions/ResponseMeta" type: object - Industry: - description: An industry that is being researched - properties: - ID: - description: Record Id - type: string - CompanyProducts: - description: The list of Products in this industry - items: - $ref: "#/definitions/CompanyProduct" - type: array - x-nullable: true - CompanyServices: - description: The list of Services in this industry - items: - $ref: "#/definitions/CompanyService" - type: array - x-nullable: true - CreatedByID: - description: Created By User ID - type: string - x-nullable: true - CreatedDate: - description: Created Date - type: string - x-nullable: true - Description: - description: Industry Description - type: string - x-nullable: true - ImageAltText: - description: Image Alt Text - type: string - x-nullable: true - ImageURL: - description: Image URL - type: string - x-nullable: true - LastModifiedByID: - description: Last Modified By User ID - type: string - x-nullable: true - LastModifiedDate: - description: Last Modified Date - type: string - x-nullable: true - Level: - description: The hierarchical level of this Industry - type: string - x-nullable: true - Logo: - description: Logo - type: string - x-nullable: true - Name: - description: Industry Name - type: string - x-nullable: true - ParentIndustryID: - description: The ID of the Parent Industry - type: string - x-nullable: true - Path: - description: The full path of this industry, including Parent - type: string - x-nullable: true - ProductCategory: - description: Is this industry a product category? - type: boolean - x-nullable: true - ServiceCategory: - description: Is this industry a service category? - type: boolean - x-nullable: true - Slug: - description: The CMS Slug for this Industry - type: string - x-nullable: true - TagLine: - description: TagLine - type: string - x-nullable: true - type: object - IndustryCompany: - description: Junction object between Industry and Company - properties: - AccountID: - type: string - x-nullable: true - CreatedByID: - description: Created By User ID - type: string - x-nullable: true - CreatedDate: - description: Created Date - type: string - x-nullable: true - ID: - description: Record Id - type: string - IndustryID: - type: string - x-nullable: true - LastModifiedByID: - description: Last Modified By User ID - type: string - x-nullable: true - LastModifiedDate: - description: Last Modified Date - type: string - x-nullable: true - Path: - type: string - x-nullable: true - type: object IndustryCompanyRequest: description: An array of IndustryCompany objects submitted for processing properties: Data: items: - $ref: "#/definitions/IndustryCompany" + $ref: "../../lib/swagger/defs/industry-company.yaml#/IndustryCompany" type: array type: object IndustryCompanyResponse: @@ -1741,49 +1289,17 @@ definitions: properties: Data: items: - $ref: "#/definitions/IndustryCompany" + $ref: "../../lib/swagger/defs/industry-company.yaml#/IndustryCompany" type: array Meta: $ref: "#/definitions/ResponseMeta" type: object - IndustryProduct: - description: Junction object between Industry and CompanyProduct - properties: - CompanyProductID: - type: string - x-nullable: true - CreatedByID: - description: Created By User ID - type: string - x-nullable: true - CreatedDate: - description: Created Date - type: string - x-nullable: true - HTML: - type: string - x-nullable: true - ID: - description: Record Id - type: string - IndustryID: - type: string - x-nullable: true - LastModifiedByID: - description: Last Modified By User ID - type: string - x-nullable: true - LastModifiedDate: - description: Last Modified Date - type: string - x-nullable: true - type: object IndustryProductRequest: description: An array of IndustryProduct objects submitted for processing properties: Data: items: - $ref: "#/definitions/IndustryProduct" + $ref: "../../lib/swagger/defs/industry-product.yaml#/IndustryProduct" type: array type: object IndustryProductResponse: @@ -1791,50 +1307,17 @@ definitions: properties: Data: items: - $ref: "#/definitions/IndustryProduct" + $ref: "../../lib/swagger/defs/industry-product.yaml#/IndustryProduct" type: array Meta: $ref: "#/definitions/ResponseMeta" type: object - IndustryService: - description: Junction Object bewtwen Industry and CompanyService - properties: - ID: - description: Record Id - type: string - CompanyService: - $ref: "#/definitions/CompanyService" - CompanyServiceID: - type: string - x-nullable: true - CreatedByID: - description: Created By User ID - type: string - x-nullable: true - CreatedDate: - description: Created Date - type: string - x-nullable: true - Industry: - $ref: "#/definitions/Industry" - IndustryID: - type: string - x-nullable: true - LastModifiedByID: - description: Last Modified By User ID - type: string - x-nullable: true - LastModifiedDate: - description: Last Modified Date - type: string - x-nullable: true - type: object IndustryServiceRequest: description: An array of IndustryService objects submitted for processing properties: Data: items: - $ref: "#/definitions/IndustryService" + $ref: "../../lib/swagger/defs/industry-service.yaml#/IndustryService" type: array type: object IndustryServiceResponse: @@ -1842,7 +1325,7 @@ definitions: properties: Data: items: - $ref: "#/definitions/IndustryService" + $ref: "../../lib/swagger/defs/industry-service.yaml#/IndustryService" type: array Meta: $ref: "#/definitions/ResponseMeta" @@ -1852,7 +1335,7 @@ definitions: properties: Data: items: - $ref: "#/definitions/Industry" + $ref: "../../lib/swagger/defs/industry.yaml#/Industry" type: array type: object IndustryResponse: @@ -1860,7 +1343,7 @@ definitions: properties: Data: items: - $ref: "#/definitions/Industry" + $ref: "../../lib/swagger/defs/industry.yaml#/Industry" type: array Meta: $ref: "#/definitions/ResponseMeta" @@ -1884,59 +1367,12 @@ definitions: format: int64 type: number type: object - Observation: - description: A data point collected while analyzing a Factor - properties: - AccountID: - description: The ID of the Company being analyzed - type: string - x-nullable: true - CompanyProductID: - description: The ID of the Product being analyzed - type: string - x-nullable: true - CreatedByID: - description: Created By User ID - type: string - x-nullable: true - CreatedDate: - description: Created Date - type: string - x-nullable: true - Description: - description: Notes concerning data collection - type: string - x-nullable: true - FactorID: - description: The ID of the Factor that owns this Observation - type: string - x-nullable: true - ID: - description: Record Id - type: string - LastModifiedByID: - description: Last Modified By User ID - type: string - x-nullable: true - LastModifiedDate: - description: Last Modified Date - type: string - x-nullable: true - SubjectType: - description: Is the subject a Company or a Product? - type: string - x-nullable: true - Value: - description: The data point collected - type: string - x-nullable: true - type: object ObservationRequest: description: An array of Observation objects submitted for processing properties: Data: items: - $ref: "#/definitions/Observation" + $ref: "../../lib/swagger/defs/observation.yaml#/Observation" type: array type: object ObservationResponse: @@ -1944,7 +1380,7 @@ definitions: properties: Data: items: - $ref: "#/definitions/Observation" + $ref: "../../lib/swagger/defs/observation.yaml#/Observation" type: array Meta: $ref: "#/definitions/ResponseMeta" @@ -2028,7 +1464,7 @@ definitions: Factors: description: The list of Factors used to analyze this industry items: - $ref: "#/definitions/Factor" + $ref: "../../lib/swagger/defs/factor.yaml#/Factor" type: array x-nullable: true ID: diff --git a/swagger/sf-gate-work.yaml b/swagger/sf-gate-work.yaml index e221d3a..7967cbf 100644 --- a/swagger/sf-gate-work.yaml +++ b/swagger/sf-gate-work.yaml @@ -250,7 +250,7 @@ parameters: name: financialStatementRequest required: true schema: - $ref: "#/definitions/FinancialStatement" + $ref: "#/definitions/FinancialStatementRequest" industryIdQuery: description: Industry record ID in: query @@ -3681,85 +3681,11 @@ definitions: meta: $ref: "#/definitions/ResponseMeta" type: object - CompanyProduct: - description: A software product or service vended by a Company - properties: - AccountID: - description: ID of the Company that owns this Product - type: string - CreatedByID: - description: Created By User ID - type: string - x-nullable: true - CreatedDate: - description: Created Date - type: string - x-nullable: true - Description: - description: Description of product - type: string - x-nullable: true - FullDescription: - description: Full Description of product - type: string - x-nullable: true - ID: - description: Record Id - type: string - ImageAltText: - description: Image Alt Text - type: string - x-nullable: true - ImageURL: - description: Image URL - type: string - x-nullable: true - LastModifiedByID: - description: Last Modified By User ID - type: string - x-nullable: true - LastModifiedDate: - description: Last Modified Date - type: string - x-nullable: true - Logo: - description: Logo - type: string - x-nullable: true - Name: - description: Product Name - type: string - x-nullable: true - ProductVideoID: - description: Product Video ID - type: string - x-nullable: true - Published: - description: Published - type: boolean - x-nullable: true - SalesforceSpecific: - description: Salesforce Specific - type: boolean - x-nullable: true - Slug: - description: Slug - type: string - x-nullable: true - TagLine: - description: TagLine - type: string - x-nullable: true - URL: - description: Website - type: string - x-nullable: true - type: object CompanyProductRequest: properties: data: items: - $ref: "#/definitions/CompanyProduct" + $ref: "../../lib/swagger/defs/company-product.yaml#/CompanyProduct" type: array meta: $ref: "#/definitions/RequestMeta" @@ -3770,101 +3696,17 @@ definitions: properties: data: items: - $ref: "#/definitions/CompanyProduct" + $ref: "../../lib/swagger/defs/company-product.yaml#/CompanyProduct" type: array meta: $ref: "#/definitions/ResponseMeta" type: object - CompanyService: - description: A service performed by a Company - properties: - ID: - description: Record Id - type: string - AccountID: - description: ID of the Company that owns this Service - type: string - AppExchange: - description: Salesforce AppExchange URL - type: string - x-nullable: true - CreatedByID: - description: Created By User ID - type: string - x-nullable: true - CreatedDate: - description: Created Date - type: string - x-nullable: true - Description: - description: Description of service - type: string - x-nullable: true - FullDescription: - description: Full Description of service - type: string - x-nullable: true - ImageAltText: - description: Image Alt Text - type: string - x-nullable: true - ImageURL: - description: Image URL - type: string - x-nullable: true - Industries: - description: Industries - items: - $ref: "../../lib/swagger/defs/industry.yaml#/Industry" - type: array - x-nullable: true - LastModifiedByID: - description: Last Modified By User ID - type: string - x-nullable: true - LastModifiedDate: - description: Last Modified Date - type: string - x-nullable: true - Logo: - description: Logo - type: string - x-nullable: true - Name: - description: Service Name - type: string - x-nullable: true - Published: - description: Published - type: boolean - x-nullable: true - SalesforceSpecific: - description: Salesforce Specific - type: boolean - x-nullable: true - ServiceVideoID: - description: Service Video ID - type: string - x-nullable: true - Slug: - description: Slug - type: string - x-nullable: true - TagLine: - description: Tag Line - type: string - x-nullable: true - URL: - description: URL - type: string - x-nullable: true - type: object CompanyServiceRequest: description: An array of CompanyService objects submitted for processing properties: Data: items: - $ref: "#/definitions/CompanyService" + $ref: "../../lib/swagger/defs/company-service.yaml#/CompanyService" type: array type: object CompanyServiceResponse: @@ -3872,7 +3714,7 @@ definitions: properties: Data: items: - $ref: "#/definitions/CompanyService" + $ref: "../../lib/swagger/defs/company-service.yaml#/CompanyService" type: array Meta: $ref: "#/definitions/ResponseMeta" @@ -4315,57 +4157,12 @@ definitions: Message: type: string type: object - Factor: - description: A Factor of analysis within a research topic - properties: - CreatedByID: - description: Created By User ID - type: string - x-nullable: true - CreatedDate: - description: Created Date - type: string - x-nullable: true - Description: - description: Topic Description - type: string - x-nullable: true - ID: - description: Record Id - type: string - LastModifiedByID: - description: Last Modified By User ID - type: string - x-nullable: true - LastModifiedDate: - description: Last Modified Date - type: string - x-nullable: true - Name: - description: Factor Name - type: string - x-nullable: true - Observations: - description: The list of Observations used to analyze this industry - items: - $ref: "#/definitions/Observation" - type: array - x-nullable: true - Slug: - description: The slug of the corresponding page on the CMS - type: string - x-nullable: true - TopicID: - description: The ID of the Topic that owns this Factor - type: string - x-nullable: true - type: object FactorRequest: description: An array of Factor objects submitted for processing properties: Data: items: - $ref: "#/definitions/Factor" + $ref: ../../lib/swagger/defs/factor.yaml#/Factor type: array type: object FactorResponse: @@ -4373,7 +4170,7 @@ definitions: properties: Data: items: - $ref: "#/definitions/Factor" + $ref: ../../lib/swagger/defs/factor.yaml#/Factor type: array Meta: $ref: "#/definitions/ResponseMeta" @@ -4396,79 +4193,12 @@ definitions: $ref: "../../lib/swagger/defs/favorite.yaml#/Favorite" type: array type: object - FinancialStatement: - description: A financial statement for a company - properties: - AccessNumber: - description: EDGAR Access Number - type: string - x-nullable: true - AccountID: - description: Account ID - type: string - x-nullable: true - CloudRevenue: - description: Cloud Revenue - type: number - x-nullable: true - CreatedByID: - description: Created By User ID - type: string - x-nullable: true - CreatedDate: - description: Created Date - type: string - x-nullable: true - Description: - description: Description - type: string - x-nullable: true - EdgarURL: - description: EDGAR URL - type: string - x-nullable: true - FilingType: - description: Filing Type - type: string - x-nullable: true - GrossProfit: - description: Gross Profit - type: number - x-nullable: true - ID: - description: Record Id - type: string - LastModifiedByID: - description: Last Modified By User ID - type: string - x-nullable: true - LastModifiedDate: - description: Last Modified Date - type: string - x-nullable: true - NetIncome: - description: Net Income - type: number - x-nullable: true - PeriodEndDate: - description: Period End Date - type: string - x-nullable: true - TotalRevenue: - description: Total Revenue - type: number - x-nullable: true - Year: - description: Year - type: string - x-nullable: true - type: object FinancialStatementRequest: description: An array of FinancialStatement objects submitted for processing properties: Data: items: - $ref: "#/definitions/FinancialStatement" + $ref: "../../lib/swagger/defs/financial-statement.yaml#/FinancialStatement" type: array type: object FinancialStatementResponse: @@ -4476,49 +4206,17 @@ definitions: properties: Data: items: - $ref: "#/definitions/FinancialStatement" + $ref: "../../lib/swagger/defs/financial-statement.yaml#/FinancialStatement" type: array Meta: $ref: "#/definitions/ResponseMeta" type: object - IndustryCompany: - description: Junction object between Industry and Company - properties: - CompanyID: - type: string - x-nullable: true - CreatedByID: - description: Created By User ID - type: string - x-nullable: true - CreatedDate: - description: Created Date - type: string - x-nullable: true - ID: - description: Record Id - type: string - IndustryID: - type: string - x-nullable: true - LastModifiedByID: - description: Last Modified By User ID - type: string - x-nullable: true - LastModifiedDate: - description: Last Modified Date - type: string - x-nullable: true - Path: - type: string - x-nullable: true - type: object IndustryCompanyRequest: description: An array of IndustryCompany objects submitted for processing properties: Data: items: - $ref: "#/definitions/IndustryCompany" + $ref: "../../lib/swagger/defs/industry-company.yaml#/IndustryCompany" type: array type: object IndustryCompanyResponse: @@ -4526,50 +4224,17 @@ definitions: properties: Data: items: - $ref: "#/definitions/IndustryCompany" + $ref: "../../lib/swagger/defs/industry-company.yaml#/IndustryCompany" type: array Meta: $ref: "#/definitions/ResponseMeta" type: object - IndustryProduct: - description: Junction object between Industry and CompanyProduct - properties: - CompanyProduct: - $ref: "#/definitions/CompanyProduct" - CompanyProductID: - type: string - x-nullable: true - CreatedByID: - description: Created By User ID - type: string - x-nullable: true - CreatedDate: - description: Created Date - type: string - x-nullable: true - ID: - description: Record Id - type: string - Industry: - $ref: "../../lib/swagger/defs/industry.yaml#/Industry" - IndustryID: - type: string - x-nullable: true - LastModifiedByID: - description: Last Modified By User ID - type: string - x-nullable: true - LastModifiedDate: - description: Last Modified Date - type: string - x-nullable: true - type: object IndustryProductRequest: description: An array of IndustryProduct objects submitted for processing properties: Data: items: - $ref: "#/definitions/IndustryProduct" + $ref: "../../lib/swagger/defs/industry-product.yaml#/IndustryProduct" type: array type: object IndustryProductResponse: @@ -4577,50 +4242,17 @@ definitions: properties: Data: items: - $ref: "#/definitions/IndustryProduct" + $ref: "../../lib/swagger/defs/industry-product.yaml#/IndustryProduct" type: array Meta: $ref: "#/definitions/ResponseMeta" type: object - IndustryService: - description: Junction Object between Industry and CompanyService - properties: - ID: - description: Record Id - type: string - CompanyService: - $ref: "#/definitions/CompanyService" - CompanyServiceID: - type: string - x-nullable: true - CreatedByID: - description: Created By User ID - type: string - x-nullable: true - CreatedDate: - description: Created Date - type: string - x-nullable: true - Industry: - $ref: "../../lib/swagger/defs/industry.yaml#/Industry" - IndustryID: - type: string - x-nullable: true - LastModifiedByID: - description: Last Modified By User ID - type: string - x-nullable: true - LastModifiedDate: - description: Last Modified Date - type: string - x-nullable: true - type: object IndustryServiceRequest: description: An array of IndustryService objects submitted for processing properties: Data: items: - $ref: "#/definitions/IndustryService" + $ref: "../../lib/swagger/defs/industry-service.yaml#/IndustryService" type: array type: object IndustryServiceResponse: @@ -4628,7 +4260,7 @@ definitions: properties: Data: items: - $ref: "#/definitions/IndustryService" + $ref: "../../lib/swagger/defs/industry-service.yaml#/IndustryService" type: array Meta: $ref: "#/definitions/ResponseMeta" @@ -4671,59 +4303,12 @@ definitions: format: int64 type: number type: object - Observation: - description: A data point collected while analyzing a Factor - properties: - AccountID: - description: The ID of the Company being analyzed - type: string - x-nullable: true - CompanyProductID: - description: The ID of the Product being analyzed - type: string - x-nullable: true - CreatedByID: - description: Created By User ID - type: string - x-nullable: true - CreatedDate: - description: Created Date - type: string - x-nullable: true - Description: - description: Notes concerning data collection - type: string - x-nullable: true - FactorID: - description: The ID of the Factor that owns this Observation - type: string - x-nullable: true - ID: - description: Record Id - type: string - LastModifiedByID: - description: Last Modified By User ID - type: string - x-nullable: true - LastModifiedDate: - description: Last Modified Date - type: string - x-nullable: true - SubjectType: - description: Is the subject a Company or a Product? - type: string - x-nullable: true - Value: - description: The data point collected - type: string - x-nullable: true - type: object ObservationRequest: description: An array of Observation objects submitted for processing properties: Data: items: - $ref: "#/definitions/Observation" + $ref: "../../lib/swagger/defs/observation.yaml#/Observation" type: array type: object ObservationResponse: @@ -4731,7 +4316,7 @@ definitions: properties: Data: items: - $ref: "#/definitions/Observation" + $ref: "../../lib/swagger/defs/observation.yaml#/Observation" type: array Meta: $ref: "#/definitions/ResponseMeta" @@ -5137,7 +4722,7 @@ definitions: Factors: description: The list of Factors used to analyze this industry items: - $ref: "#/definitions/Factor" + $ref: "../../lib/swagger/defs/factor.yaml#/Factor" type: array x-nullable: true ID: @@ -5716,7 +5301,7 @@ definitions: properties: Data: items: - $ref: "#/definitions/Prompt" + $ref: "../../lib/swagger/defs/prompt.yaml#/Prompt" type: array type: object PromptResponse: @@ -5724,7 +5309,7 @@ definitions: properties: Data: items: - $ref: "#/definitions/Prompt" + $ref: "../../lib/swagger/defs/prompt.yaml#/Prompt" type: array Meta: $ref: "#/definitions/ResponseMeta" @@ -5765,104 +5350,3 @@ definitions: Meta: $ref: "#/definitions/ResponseMeta" type: object - Prompt: - description: A prompt - properties: - ID: - description: Record Id - type: string - CreatedByID: - description: The ID of the user who created the prompt - type: string - x-nullable: true - CreatedDate: - description: The date the prompt was created - type: string - x-nullable: true - Icon: - description: The icon for the prompt - type: string - x-nullable: true - ImageAltText: - description: The alt text for the prompt image - type: string - x-nullable: true - ImageURL: - description: The URL of the prompt image - type: string - x-nullable: true - LastModifiedByID: - description: The ID of the user who last modified the prompt - type: string - x-nullable: true - LastModifiedDate: - description: The date the prompt was last modified - type: string - x-nullable: true - Logo: - description: The logo for the prompt - type: string - x-nullable: true - Model: - description: The model for the prompt - type: string - x-nullable: true - Name: - description: The name of the prompt - type: string - x-nullable: true - Order: - description: The order of the prompt - type: number - x-nullable: true - Parameters: - description: A list of parameters encoded as JSON - type: string - x-nullable: true - Prompt: - description: The prompt text - type: string - x-nullable: true - PromptCategoryID: - description: The ID of the prompt category - type: string - x-nullable: true - ResearchProjectIDs: - description: A list of research project IDs - items: - type: string - type: array - x-nullable: true - Slug: - description: The slug for the prompt - type: string - x-nullable: true - SystemPrompt: - description: The System prompt to be used - type: string - x-nullable: true - Tags: - description: A list of tags (from salesforce newline separated) - type: string - x-nullable: true - Temperature: - description: The temperature of the prompt - type: number - x-nullable: true - TenantID: - description: The ID of the tenant - type: string - x-nullable: true - Title: - description: The title of the prompt - type: string - x-nullable: true - UsedCount: - description: The number of times the prompt has been used - type: number - x-nullable: true - UserID: - description: The ID of the user who created the prompt - type: string - x-nullable: true - type: object