adding channels

v0.2.1 v0.2.1
Vernon Keenan 2023-10-26 15:37:13 +00:00
parent b5b86d0a2d
commit aec8303f72
42 changed files with 487 additions and 2550 deletions

View File

@ -33,7 +33,7 @@ swagger:
# update external auth client # update external auth client
# #
sed -i 's|"http"|"https"|g' ./swagger/external/auth-work.yaml 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 sed -i 's|"/v1"|"/work/auth/v1"|g' ./swagger/external/auth-work.yaml
# #
# generate crm client # generate crm client
@ -52,7 +52,7 @@ swagger:
# update external crm client # update external crm client
# #
sed -i 's|"http"|"https"|g' ./swagger/external/crm-work.yaml 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 sed -i 's|"/v1"|"/vk/crm/v1"|g' ./swagger/external/crm-work.yaml
# #
# generate research client # generate research client
@ -71,7 +71,7 @@ swagger:
# update external research client # update external research client
# #
sed -i 's|"http"|"https"|g' ./swagger/external/research-work.yaml 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 sed -i 's|"/v1"|"/vk/research/v1"|g' ./swagger/external/research-work.yaml
# #
# generate members client # generate members client
@ -90,7 +90,7 @@ swagger:
# update external members client # update external members client
# #
sed -i 's|"http"|"https"|g' ./swagger/external/members-work.yaml 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 sed -i 's|"/v1"|"/work/members/v1"|g' ./swagger/external/members-work.yaml
# #
# generate sfgate client # generate sfgate client
@ -109,7 +109,7 @@ swagger:
# update external client # update external client
# #
sed -i 's|"http"|"https"|g' ./swagger/external/sf-gate-work.yaml 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 sed -i 's|"/v1"|"/work/sf-gate/v1"|g' ./swagger/external/sf-gate-work.yaml
# #
# generate plex client # generate plex client
@ -127,7 +127,7 @@ swagger:
# update external plex client # update external plex client
# #
sed -i 's|"http"|"https"|g' ./swagger/external/plex-work.yaml 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 sed -i 's|"/v1"|"/work/plex/v1"|g' ./swagger/external/plex-work.yaml
# #
# copy external swagger files # copy external swagger files

View File

@ -43,6 +43,9 @@ type Account struct {
// Contact ID // Contact ID
BillingContactID *string `json:"BillingContactID,omitempty"` BillingContactID *string `json:"BillingContactID,omitempty"`
// The channels associated with the track (Multiselect Picklist).
Channels *string `json:"Channels,omitempty"`
// Closed Date // Closed Date
ClosedDate *string `json:"ClosedDate,omitempty"` ClosedDate *string `json:"ClosedDate,omitempty"`

View File

@ -34,6 +34,9 @@ type Contact struct {
// Birthdate // Birthdate
BirthDate *string `json:"BirthDate,omitempty"` BirthDate *string `json:"BirthDate,omitempty"`
// The channels associated with the track (Multiselect Picklist).
Channels *string `json:"Channels,omitempty"`
// Created By User ID // Created By User ID
CreatedByID *string `json:"CreatedByID,omitempty"` CreatedByID *string `json:"CreatedByID,omitempty"`

View File

@ -26,6 +26,9 @@ type ResearchProject struct {
// account ID // account ID
AccountID *string `json:"AccountID,omitempty"` AccountID *string `json:"AccountID,omitempty"`
// The channels associated with the track (Multiselect Picklist).
Channels *string `json:"Channels,omitempty"`
// companies // companies
Companies []*ResearchProjectCompany `json:"Companies"` Companies []*ResearchProjectCompany `json:"Companies"`

View File

@ -20,7 +20,7 @@ import (
// CompanyProduct A software product or service vended by a Company // CompanyProduct A software product or service vended by a Company
// //
// swagger:model CompanyProduct // swagger:model companyProduct
type CompanyProduct struct { type CompanyProduct struct {
// Account Email // Account Email
@ -50,6 +50,9 @@ type CompanyProduct struct {
// Salesforce AppExchange URL // Salesforce AppExchange URL
AppExchange *string `json:"AppExchange,omitempty"` AppExchange *string `json:"AppExchange,omitempty"`
// The channels associated with the track (Multiselect Picklist).
Channels *string `json:"Channels,omitempty"`
// Created By User ID // Created By User ID
CreatedByID *string `json:"CreatedByID,omitempty"` CreatedByID *string `json:"CreatedByID,omitempty"`

View File

@ -20,7 +20,7 @@ import (
// CompanyService A service performed by a Company // CompanyService A service performed by a Company
// //
// swagger:model CompanyService // swagger:model companyService
type CompanyService struct { type CompanyService struct {
// Account Email // Account Email
@ -50,6 +50,9 @@ type CompanyService struct {
// Salesforce AppExchange URL // Salesforce AppExchange URL
AppExchange *string `json:"AppExchange,omitempty"` AppExchange *string `json:"AppExchange,omitempty"`
// The channels associated with the track (Multiselect Picklist).
Channels *string `json:"Channels,omitempty"`
// Created By User ID // Created By User ID
CreatedByID *string `json:"CreatedByID,omitempty"` CreatedByID *string `json:"CreatedByID,omitempty"`

View File

@ -20,7 +20,7 @@ import (
// Factor A Factor of analysis within a research topic // Factor A Factor of analysis within a research topic
// //
// swagger:model Factor // swagger:model factor
type Factor struct { type Factor struct {
// Created By User ID // Created By User ID

View File

@ -18,7 +18,7 @@ import (
// FinancialStatement A financial statement for a company // FinancialStatement A financial statement for a company
// //
// swagger:model FinancialStatement // swagger:model financialStatement
type FinancialStatement struct { type FinancialStatement struct {
// EDGAR Access Number // EDGAR Access Number

View File

@ -20,9 +20,12 @@ import (
// Industry An industry that is being researched // Industry An industry that is being researched
// //
// swagger:model Industry // swagger:model industry
type Industry struct { type Industry struct {
// The channels associated with the track (Multiselect Picklist).
Channels *string `json:"Channels,omitempty"`
// The list of Products in this industry // The list of Products in this industry
CompanyProducts []*CompanyProduct `json:"CompanyProducts"` CompanyProducts []*CompanyProduct `json:"CompanyProducts"`

View File

@ -18,7 +18,7 @@ import (
// IndustryCompany Junction object between Industry and Company // IndustryCompany Junction object between Industry and Company
// //
// swagger:model IndustryCompany // swagger:model industryCompany
type IndustryCompany struct { type IndustryCompany struct {
// account ID // account ID

View File

@ -12,15 +12,19 @@ package research_models
import ( import (
"context" "context"
"github.com/go-openapi/errors"
"github.com/go-openapi/strfmt" "github.com/go-openapi/strfmt"
"github.com/go-openapi/swag" "github.com/go-openapi/swag"
) )
// IndustryProduct Junction object between Industry and CompanyProduct // IndustryProduct Junction object between Industry and CompanyProduct
// //
// swagger:model IndustryProduct // swagger:model industryProduct
type IndustryProduct struct { type IndustryProduct struct {
// company product
CompanyProduct *CompanyProduct `json:"CompanyProduct,omitempty"`
// company product ID // company product ID
CompanyProductID *string `json:"CompanyProductID,omitempty"` CompanyProductID *string `json:"CompanyProductID,omitempty"`
@ -36,6 +40,9 @@ type IndustryProduct struct {
// Record Id // Record Id
ID string `json:"ID,omitempty"` ID string `json:"ID,omitempty"`
// industry
Industry *Industry `json:"Industry,omitempty"`
// industry ID // industry ID
IndustryID *string `json:"IndustryID,omitempty"` IndustryID *string `json:"IndustryID,omitempty"`
@ -48,11 +55,107 @@ type IndustryProduct struct {
// Validate validates this industry product // Validate validates this industry product
func (m *IndustryProduct) Validate(formats strfmt.Registry) error { 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 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 { 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 return nil
} }

View File

@ -19,7 +19,7 @@ import (
// IndustryService Junction Object bewtwen Industry and CompanyService // IndustryService Junction Object bewtwen Industry and CompanyService
// //
// swagger:model IndustryService // swagger:model industryService
type IndustryService struct { type IndustryService struct {
// company service // company service

View File

@ -18,7 +18,7 @@ import (
// Observation A data point collected while analyzing a Factor // Observation A data point collected while analyzing a Factor
// //
// swagger:model Observation // swagger:model observation
type Observation struct { type Observation struct {
// The ID of the Company being analyzed // The ID of the Company being analyzed

View File

@ -71,7 +71,7 @@ type PostFinancialStatementsParams struct {
A request with an array of FinancialStatement Objects A request with an array of FinancialStatement Objects
*/ */
FinancialStatementRequest *sfgate_models.FinancialStatement FinancialStatementRequest *sfgate_models.FinancialStatementRequest
timeout time.Duration timeout time.Duration
Context context.Context Context context.Context
@ -127,13 +127,13 @@ func (o *PostFinancialStatementsParams) SetHTTPClient(client *http.Client) {
} }
// WithFinancialStatementRequest adds the financialStatementRequest to the post financial statements params // 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) o.SetFinancialStatementRequest(financialStatementRequest)
return o return o
} }
// SetFinancialStatementRequest adds the financialStatementRequest to the post financial statements params // 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 o.FinancialStatementRequest = financialStatementRequest
} }

View File

@ -11,18 +11,47 @@ package sfgate_models
import ( import (
"context" "context"
"strconv"
"github.com/go-openapi/errors"
"github.com/go-openapi/strfmt" "github.com/go-openapi/strfmt"
"github.com/go-openapi/swag" "github.com/go-openapi/swag"
) )
// CompanyProduct A software product or service vended by a Company // CompanyProduct A software product or service vended by a Company
// //
// swagger:model CompanyProduct // swagger:model companyProduct
type CompanyProduct struct { type CompanyProduct struct {
// Account Email
AccountEmail *string `json:"AccountEmail,omitempty"`
// ID of the Company that owns this Product // 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 // Created By User ID
CreatedByID *string `json:"CreatedByID,omitempty"` CreatedByID *string `json:"CreatedByID,omitempty"`
@ -45,6 +74,9 @@ type CompanyProduct struct {
// Image URL // Image URL
ImageURL *string `json:"ImageURL,omitempty"` ImageURL *string `json:"ImageURL,omitempty"`
// Industries
Industries []*Industry `json:"Industries"`
// Last Modified By User ID // Last Modified By User ID
LastModifiedByID *string `json:"LastModifiedByID,omitempty"` LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
@ -78,11 +110,75 @@ type CompanyProduct struct {
// Validate validates this company product // Validate validates this company product
func (m *CompanyProduct) Validate(formats strfmt.Registry) error { 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 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 { 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 return nil
} }

View File

@ -20,15 +20,39 @@ import (
// CompanyService A service performed by a Company // CompanyService A service performed by a Company
// //
// swagger:model CompanyService // swagger:model companyService
type CompanyService struct { type CompanyService struct {
// Account Email
AccountEmail *string `json:"AccountEmail,omitempty"`
// ID of the Company that owns this Service // ID of the Company that owns this Service
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 // Salesforce AppExchange URL
AppExchange *string `json:"AppExchange,omitempty"` AppExchange *string `json:"AppExchange,omitempty"`
// The channels associated with the track (Multiselect Picklist).
Channels *string `json:"Channels,omitempty"`
// Created By User ID // Created By User ID
CreatedByID *string `json:"CreatedByID,omitempty"` CreatedByID *string `json:"CreatedByID,omitempty"`

View File

@ -20,7 +20,7 @@ import (
// Factor A Factor of analysis within a research topic // Factor A Factor of analysis within a research topic
// //
// swagger:model Factor // swagger:model factor
type Factor struct { type Factor struct {
// Created By User ID // Created By User ID

View File

@ -18,7 +18,7 @@ import (
// FinancialStatement A financial statement for a company // FinancialStatement A financial statement for a company
// //
// swagger:model FinancialStatement // swagger:model financialStatement
type FinancialStatement struct { type FinancialStatement struct {
// EDGAR Access Number // EDGAR Access Number

View File

@ -27,10 +27,10 @@ type Industry struct {
Channels *string `json:"Channels,omitempty"` Channels *string `json:"Channels,omitempty"`
// The list of Products in this industry // The list of Products in this industry
CompanyProducts []*IndustryCompanyProductsItems0 `json:"CompanyProducts"` CompanyProducts []*CompanyProduct `json:"CompanyProducts"`
// The list of Services in this industry // The list of Services in this industry
CompanyServices []*IndustryCompanyServicesItems0 `json:"CompanyServices"` CompanyServices []*CompanyService `json:"CompanyServices"`
// Created By User ID // Created By User ID
CreatedByID *string `json:"CreatedByID,omitempty"` CreatedByID *string `json:"CreatedByID,omitempty"`
@ -229,258 +229,3 @@ func (m *Industry) UnmarshalBinary(b []byte) error {
*m = res *m = res
return nil 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
}

View File

@ -18,11 +18,11 @@ import (
// IndustryCompany Junction object between Industry and Company // IndustryCompany Junction object between Industry and Company
// //
// swagger:model IndustryCompany // swagger:model industryCompany
type IndustryCompany struct { type IndustryCompany struct {
// company ID // account ID
CompanyID *string `json:"CompanyID,omitempty"` AccountID *string `json:"AccountID,omitempty"`
// Created By User ID // Created By User ID
CreatedByID *string `json:"CreatedByID,omitempty"` CreatedByID *string `json:"CreatedByID,omitempty"`

View File

@ -19,7 +19,7 @@ import (
// IndustryProduct Junction object between Industry and CompanyProduct // IndustryProduct Junction object between Industry and CompanyProduct
// //
// swagger:model IndustryProduct // swagger:model industryProduct
type IndustryProduct struct { type IndustryProduct struct {
// company product // company product
@ -34,6 +34,9 @@ type IndustryProduct struct {
// Created Date // Created Date
CreatedDate *string `json:"CreatedDate,omitempty"` CreatedDate *string `json:"CreatedDate,omitempty"`
// HTML
HTML *string `json:"HTML,omitempty"`
// Record Id // Record Id
ID string `json:"ID,omitempty"` ID string `json:"ID,omitempty"`

View File

@ -17,9 +17,9 @@ import (
"github.com/go-openapi/swag" "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 { type IndustryService struct {
// company service // company service

View File

@ -18,7 +18,7 @@ import (
// Observation A data point collected while analyzing a Factor // Observation A data point collected while analyzing a Factor
// //
// swagger:model Observation // swagger:model observation
type Observation struct { type Observation struct {
// The ID of the Company being analyzed // The ID of the Company being analyzed

View File

@ -18,7 +18,7 @@ import (
// Prompt A prompt // Prompt A prompt
// //
// swagger:model Prompt // swagger:model prompt
type Prompt struct { type Prompt struct {
// The ID of the user who created the prompt // The ID of the user who created the prompt
@ -48,6 +48,9 @@ type Prompt struct {
// The logo for the prompt // The logo for the prompt
Logo *string `json:"Logo,omitempty"` Logo *string `json:"Logo,omitempty"`
// The maximum number of tokens to generate
MaxTokens *float64 `json:"MaxTokens,omitempty"`
// The model for the prompt // The model for the prompt
Model *string `json:"Model,omitempty"` Model *string `json:"Model,omitempty"`
@ -73,10 +76,10 @@ type Prompt struct {
Slug *string `json:"Slug,omitempty"` Slug *string `json:"Slug,omitempty"`
// The System prompt to be used // The System prompt to be used
SystemPrompt *string `json:"SystemPrompt,omitempty"` System *string `json:"System,omitempty"`
// A list of tags (from salesforce newline separated) // A list of tags
Tags *string `json:"Tags,omitempty"` Tags []string `json:"Tags"`
// The temperature of the prompt // The temperature of the prompt
Temperature *float64 `json:"Temperature,omitempty"` Temperature *float64 `json:"Temperature,omitempty"`

View File

@ -26,6 +26,9 @@ type ResearchProject struct {
// account ID // account ID
AccountID *string `json:"AccountID,omitempty"` AccountID *string `json:"AccountID,omitempty"`
// The channels associated with the track (Multiselect Picklist).
Channels *string `json:"Channels,omitempty"`
// companies // companies
Companies []*ResearchProjectCompany `json:"Companies"` Companies []*ResearchProjectCompany `json:"Companies"`

View File

@ -42,6 +42,10 @@ Account:
description: The year company started cloud revenue description: The year company started cloud revenue
type: string type: string
x-nullable: true x-nullable: true
Channels:
description: The channels associated with the track (Multiselect Picklist).
type: string
x-nullable: true
CreatedByID: CreatedByID:
description: Created By User ID description: Created By User ID
type: string type: string

View File

@ -7,6 +7,35 @@ CompanyProduct:
AccountID: AccountID:
description: ID of the Company that owns this Product description: ID of the Company that owns this Product
type: string 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: AppExchange:
description: Salesforce AppExchange URL description: Salesforce AppExchange URL
type: string type: string
@ -39,6 +68,12 @@ CompanyProduct:
description: Image URL description: Image URL
type: string type: string
x-nullable: true x-nullable: true
Industries:
description: Industries
items:
$ref: "./industry.yaml#/Industry"
type: array
x-nullable: true
LastModifiedByID: LastModifiedByID:
description: Last Modified By User ID description: Last Modified By User ID
type: string type: string
@ -79,10 +114,4 @@ CompanyProduct:
description: Website description: Website
type: string type: string
x-nullable: true x-nullable: true
Industries:
description: Industries
items:
$ref: "./industry.yaml#/Industry"
type: array
x-nullable: true
type: object type: object

View File

@ -7,6 +7,34 @@ CompanyService:
AccountID: AccountID:
description: ID of the Company that owns this Service description: ID of the Company that owns this Service
type: string 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: AppExchange:
description: Salesforce AppExchange URL description: Salesforce AppExchange URL
type: string type: string
@ -39,6 +67,12 @@ CompanyService:
description: Image URL description: Image URL
type: string type: string
x-nullable: true x-nullable: true
Industries:
description: Industries
items:
$ref: "./industry.yaml#/Industry"
type: array
x-nullable: true
LastModifiedByID: LastModifiedByID:
description: Last Modified By User ID description: Last Modified By User ID
type: string type: string

View File

@ -19,6 +19,10 @@ Contact:
description: Birthdate description: Birthdate
type: string type: string
x-nullable: true x-nullable: true
Channels:
description: The channels associated with the track (Multiselect Picklist).
type: string
x-nullable: true
CrunchbaseURL: CrunchbaseURL:
type: string type: string
x-nullable: true x-nullable: true

View File

@ -23,6 +23,7 @@ Factor:
LastModifiedDate: LastModifiedDate:
description: Last Modified Date description: Last Modified Date
type: string type: string
x-nullable: true
Name: Name:
description: Factor Name description: Factor Name
type: string type: string

View File

@ -1,52 +1,67 @@
FinancialStatement: FinancialStatement:
type: object
description: A financial statement for a company description: A financial statement for a company
properties: properties:
ID:
description: Record Id
type: string
AccessNumber: AccessNumber:
description: EDGAR Access Number description: EDGAR Access Number
type: string type: string
x-nullable: true
AccountID: AccountID:
description: Account ID description: Account ID
type: string type: string
x-nullable: true
CloudRevenue: CloudRevenue:
description: Cloud Revenue description: Cloud Revenue
type: number type: number
x-nullable: true
CreatedByID: CreatedByID:
description: Created By User ID description: Created By User ID
type: string type: string
x-nullable: true
CreatedDate: CreatedDate:
description: Created Date description: Created Date
type: string type: string
x-nullable: true
Description: Description:
description: Description description: Description
type: string type: string
x-nullable: true
EdgarURL: EdgarURL:
description: EDGAR URL description: EDGAR URL
type: string type: string
x-nullable: true
FilingType: FilingType:
description: Filing Type description: Filing Type
type: string type: string
x-nullable: true
GrossProfit: GrossProfit:
description: Gross Profit description: Gross Profit
type: number type: number
x-nullable: true
ID:
description: Record Id
type: string
LastModifiedByID: LastModifiedByID:
description: Last Modified By User ID description: Last Modified By User ID
type: string type: string
x-nullable: true
LastModifiedDate: LastModifiedDate:
description: Last Modified Date description: Last Modified Date
type: string type: string
x-nullable: true
NetIncome: NetIncome:
description: Net Income description: Net Income
type: number type: number
x-nullable: true
PeriodEndDate: PeriodEndDate:
description: Period End Date description: Period End Date
type: string type: string
x-nullable: true
TotalRevenue: TotalRevenue:
description: Total Revenue description: Total Revenue
type: number type: number
x-nullable: true
Year: Year:
description: Year description: Year
type: string type: string
x-nullable: true
type: object

View File

@ -1,25 +1,32 @@
IndustryCompany: IndustryCompany:
description: Junction object between Industry and Company description: Junction object between Industry and Company
properties: properties:
ID:
description: Record Id
type: string
AccountID: AccountID:
type: string type: string
x-nullable: true
CreatedByID: CreatedByID:
description: Created By User ID description: Created By User ID
type: string type: string
x-nullable: true
CreatedDate: CreatedDate:
description: Created Date description: Created Date
type: string type: string
x-nullable: true
ID:
description: Record Id
type: string
IndustryID: IndustryID:
type: string type: string
x-nullable: true
LastModifiedByID: LastModifiedByID:
description: Last Modified By User ID description: Last Modified By User ID
type: string type: string
x-nullable: true
LastModifiedDate: LastModifiedDate:
description: Last Modified Date description: Last Modified Date
type: string type: string
x-nullable: true
Path: Path:
type: string type: string
x-nullable: true
type: object type: object

View File

@ -17,6 +17,10 @@ IndustryProduct:
description: Created Date description: Created Date
type: string type: string
x-nullable: true x-nullable: true
HTML:
description: HTML
type: string
x-nullable: true
Industry: Industry:
$ref: "./industry.yaml#/Industry" $ref: "./industry.yaml#/Industry"
IndustryID: IndustryID:

View File

@ -5,6 +5,10 @@ ResearchProject:
AccountID: AccountID:
type: string type: string
x-nullable: true x-nullable: true
Channels:
description: The channels associated with the track (Multiselect Picklist).
type: string
x-nullable: true
CreatedByID: CreatedByID:
type: string type: string
x-nullable: true x-nullable: true

View File

@ -18,7 +18,7 @@ security:
schemes: schemes:
- "https" - "https"
basePath: "/work/auth/v1" basePath: "/work/auth/v1"
host: "auth.work.tnxs.net:8080" host: "gw.tnxs.net"
consumes: consumes:
- "application/json" - "application/json"
produces: produces:

View File

@ -16,7 +16,7 @@ securityDefinitions:
schemes: schemes:
- "https" - "https"
basePath: "/vk/crm/v1" basePath: "/vk/crm/v1"
host: "crm.work.tnxs.net:8080" host: "gw.tnxs.net"
consumes: consumes:
- "application/json" - "application/json"
produces: produces:

View File

@ -16,7 +16,7 @@ securityDefinitions:
schemes: schemes:
- "https" - "https"
basePath: "/work/members/v1" basePath: "/work/members/v1"
host: "members.work.tnxs.net:8080" host: "gw.tnxs.net"
consumes: consumes:
- "application/json" - "application/json"
produces: produces:

View File

@ -16,7 +16,7 @@ securityDefinitions:
schemes: schemes:
- "https" - "https"
basePath: "/work/plex/v1" basePath: "/work/plex/v1"
host: "plex.work.tnxs.net:8080" host: "gw.tnxs.net"
consumes: consumes:
- "application/json" - "application/json"
produces: produces:

View File

@ -16,7 +16,7 @@ securityDefinitions:
schemes: schemes:
- "https" - "https"
basePath: "/vk/research/v1" basePath: "/vk/research/v1"
host: "research.work.tnxs.net:8080" host: "gw.tnxs.net"
consumes: consumes:
- "application/json" - "application/json"
produces: produces:
@ -1193,125 +1193,12 @@ definitions:
Meta: Meta:
$ref: "#/definitions/ResponseMeta" $ref: "#/definitions/ResponseMeta"
type: object 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: CompanyProductRequest:
description: An array of CompanyProduct objects submitted for processing description: An array of CompanyProduct objects submitted for processing
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/CompanyProduct" $ref: "../../lib/swagger/defs/company-product.yaml#/CompanyProduct"
type: array type: array
type: object type: object
CompanyProductResponse: CompanyProductResponse:
@ -1319,129 +1206,17 @@ definitions:
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/CompanyProduct" $ref: "../../lib/swagger/defs/company-product.yaml#/CompanyProduct"
type: array type: array
Meta: Meta:
$ref: "#/definitions/ResponseMeta" $ref: "#/definitions/ResponseMeta"
type: object 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: CompanyServiceRequest:
description: An array of CompanyService objects submitted for processing description: An array of CompanyService objects submitted for processing
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/CompanyService" $ref: "../../lib/swagger/defs/company-service.yaml#/CompanyService"
type: array type: array
type: object type: object
CompanyServiceResponse: CompanyServiceResponse:
@ -1449,7 +1224,7 @@ definitions:
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/CompanyService" $ref: "../../lib/swagger/defs/company-service.yaml#/CompanyService"
type: array type: array
Meta: Meta:
$ref: "#/definitions/ResponseMeta" $ref: "#/definitions/ResponseMeta"
@ -1465,57 +1240,12 @@ definitions:
type: object type: object
Error: Error:
$ref: ../../lib/swagger/defs/error.yaml#/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: FactorRequest:
description: An array of Factor objects submitted for processing description: An array of Factor objects submitted for processing
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/Factor" $ref: ../../lib/swagger/defs/factor.yaml#/Factor
type: array type: array
type: object type: object
FactorResponse: FactorResponse:
@ -1523,84 +1253,17 @@ definitions:
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/Factor" $ref: ../../lib/swagger/defs/factor.yaml#/Factor
type: array type: array
Meta: Meta:
$ref: "#/definitions/ResponseMeta" $ref: "#/definitions/ResponseMeta"
type: object 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: FinancialStatementRequest:
description: An array of FinancialStatement objects submitted for processing description: An array of FinancialStatement objects submitted for processing
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/FinancialStatement" $ref: "../../lib/swagger/defs/financial-statement.yaml#/FinancialStatement"
type: array type: array
type: object type: object
FinancialStatementResponse: FinancialStatementResponse:
@ -1608,132 +1271,17 @@ definitions:
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/FinancialStatement" $ref: "../../lib/swagger/defs/financial-statement.yaml#/FinancialStatement"
type: array type: array
Meta: Meta:
$ref: "#/definitions/ResponseMeta" $ref: "#/definitions/ResponseMeta"
type: object 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: IndustryCompanyRequest:
description: An array of IndustryCompany objects submitted for processing description: An array of IndustryCompany objects submitted for processing
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/IndustryCompany" $ref: "../../lib/swagger/defs/industry-company.yaml#/IndustryCompany"
type: array type: array
type: object type: object
IndustryCompanyResponse: IndustryCompanyResponse:
@ -1741,49 +1289,17 @@ definitions:
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/IndustryCompany" $ref: "../../lib/swagger/defs/industry-company.yaml#/IndustryCompany"
type: array type: array
Meta: Meta:
$ref: "#/definitions/ResponseMeta" $ref: "#/definitions/ResponseMeta"
type: object 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: IndustryProductRequest:
description: An array of IndustryProduct objects submitted for processing description: An array of IndustryProduct objects submitted for processing
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/IndustryProduct" $ref: "../../lib/swagger/defs/industry-product.yaml#/IndustryProduct"
type: array type: array
type: object type: object
IndustryProductResponse: IndustryProductResponse:
@ -1791,50 +1307,17 @@ definitions:
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/IndustryProduct" $ref: "../../lib/swagger/defs/industry-product.yaml#/IndustryProduct"
type: array type: array
Meta: Meta:
$ref: "#/definitions/ResponseMeta" $ref: "#/definitions/ResponseMeta"
type: object 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: IndustryServiceRequest:
description: An array of IndustryService objects submitted for processing description: An array of IndustryService objects submitted for processing
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/IndustryService" $ref: "../../lib/swagger/defs/industry-service.yaml#/IndustryService"
type: array type: array
type: object type: object
IndustryServiceResponse: IndustryServiceResponse:
@ -1842,7 +1325,7 @@ definitions:
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/IndustryService" $ref: "../../lib/swagger/defs/industry-service.yaml#/IndustryService"
type: array type: array
Meta: Meta:
$ref: "#/definitions/ResponseMeta" $ref: "#/definitions/ResponseMeta"
@ -1852,7 +1335,7 @@ definitions:
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/Industry" $ref: "../../lib/swagger/defs/industry.yaml#/Industry"
type: array type: array
type: object type: object
IndustryResponse: IndustryResponse:
@ -1860,7 +1343,7 @@ definitions:
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/Industry" $ref: "../../lib/swagger/defs/industry.yaml#/Industry"
type: array type: array
Meta: Meta:
$ref: "#/definitions/ResponseMeta" $ref: "#/definitions/ResponseMeta"
@ -1884,59 +1367,12 @@ definitions:
format: int64 format: int64
type: number type: number
type: object 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: ObservationRequest:
description: An array of Observation objects submitted for processing description: An array of Observation objects submitted for processing
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/Observation" $ref: "../../lib/swagger/defs/observation.yaml#/Observation"
type: array type: array
type: object type: object
ObservationResponse: ObservationResponse:
@ -1944,7 +1380,7 @@ definitions:
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/Observation" $ref: "../../lib/swagger/defs/observation.yaml#/Observation"
type: array type: array
Meta: Meta:
$ref: "#/definitions/ResponseMeta" $ref: "#/definitions/ResponseMeta"
@ -2028,7 +1464,7 @@ definitions:
Factors: Factors:
description: The list of Factors used to analyze this industry description: The list of Factors used to analyze this industry
items: items:
$ref: "#/definitions/Factor" $ref: "../../lib/swagger/defs/factor.yaml#/Factor"
type: array type: array
x-nullable: true x-nullable: true
ID: ID:

View File

@ -16,7 +16,7 @@ securityDefinitions:
schemes: schemes:
- "https" - "https"
basePath: "/work/sf-gate/v1" basePath: "/work/sf-gate/v1"
host: "sf-gate.work.tnxs.net:8080" host: "gw.tnxs.net"
consumes: consumes:
- "application/json" - "application/json"
produces: produces:
@ -250,7 +250,7 @@ parameters:
name: financialStatementRequest name: financialStatementRequest
required: true required: true
schema: schema:
$ref: "#/definitions/FinancialStatement" $ref: "#/definitions/FinancialStatementRequest"
industryIdQuery: industryIdQuery:
description: Industry record ID description: Industry record ID
in: query in: query
@ -3681,85 +3681,11 @@ definitions:
meta: meta:
$ref: "#/definitions/ResponseMeta" $ref: "#/definitions/ResponseMeta"
type: object 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: CompanyProductRequest:
properties: properties:
data: data:
items: items:
$ref: "#/definitions/CompanyProduct" $ref: "../../lib/swagger/defs/company-product.yaml#/CompanyProduct"
type: array type: array
meta: meta:
$ref: "#/definitions/RequestMeta" $ref: "#/definitions/RequestMeta"
@ -3770,101 +3696,17 @@ definitions:
properties: properties:
data: data:
items: items:
$ref: "#/definitions/CompanyProduct" $ref: "../../lib/swagger/defs/company-product.yaml#/CompanyProduct"
type: array type: array
meta: meta:
$ref: "#/definitions/ResponseMeta" $ref: "#/definitions/ResponseMeta"
type: object 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: CompanyServiceRequest:
description: An array of CompanyService objects submitted for processing description: An array of CompanyService objects submitted for processing
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/CompanyService" $ref: "../../lib/swagger/defs/company-service.yaml#/CompanyService"
type: array type: array
type: object type: object
CompanyServiceResponse: CompanyServiceResponse:
@ -3872,7 +3714,7 @@ definitions:
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/CompanyService" $ref: "../../lib/swagger/defs/company-service.yaml#/CompanyService"
type: array type: array
Meta: Meta:
$ref: "#/definitions/ResponseMeta" $ref: "#/definitions/ResponseMeta"
@ -4315,57 +4157,12 @@ definitions:
Message: Message:
type: string type: string
type: object 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: FactorRequest:
description: An array of Factor objects submitted for processing description: An array of Factor objects submitted for processing
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/Factor" $ref: ../../lib/swagger/defs/factor.yaml#/Factor
type: array type: array
type: object type: object
FactorResponse: FactorResponse:
@ -4373,7 +4170,7 @@ definitions:
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/Factor" $ref: ../../lib/swagger/defs/factor.yaml#/Factor
type: array type: array
Meta: Meta:
$ref: "#/definitions/ResponseMeta" $ref: "#/definitions/ResponseMeta"
@ -4396,79 +4193,12 @@ definitions:
$ref: "../../lib/swagger/defs/favorite.yaml#/Favorite" $ref: "../../lib/swagger/defs/favorite.yaml#/Favorite"
type: array type: array
type: object 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: FinancialStatementRequest:
description: An array of FinancialStatement objects submitted for processing description: An array of FinancialStatement objects submitted for processing
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/FinancialStatement" $ref: "../../lib/swagger/defs/financial-statement.yaml#/FinancialStatement"
type: array type: array
type: object type: object
FinancialStatementResponse: FinancialStatementResponse:
@ -4476,49 +4206,17 @@ definitions:
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/FinancialStatement" $ref: "../../lib/swagger/defs/financial-statement.yaml#/FinancialStatement"
type: array type: array
Meta: Meta:
$ref: "#/definitions/ResponseMeta" $ref: "#/definitions/ResponseMeta"
type: object 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: IndustryCompanyRequest:
description: An array of IndustryCompany objects submitted for processing description: An array of IndustryCompany objects submitted for processing
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/IndustryCompany" $ref: "../../lib/swagger/defs/industry-company.yaml#/IndustryCompany"
type: array type: array
type: object type: object
IndustryCompanyResponse: IndustryCompanyResponse:
@ -4526,50 +4224,17 @@ definitions:
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/IndustryCompany" $ref: "../../lib/swagger/defs/industry-company.yaml#/IndustryCompany"
type: array type: array
Meta: Meta:
$ref: "#/definitions/ResponseMeta" $ref: "#/definitions/ResponseMeta"
type: object 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: IndustryProductRequest:
description: An array of IndustryProduct objects submitted for processing description: An array of IndustryProduct objects submitted for processing
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/IndustryProduct" $ref: "../../lib/swagger/defs/industry-product.yaml#/IndustryProduct"
type: array type: array
type: object type: object
IndustryProductResponse: IndustryProductResponse:
@ -4577,50 +4242,17 @@ definitions:
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/IndustryProduct" $ref: "../../lib/swagger/defs/industry-product.yaml#/IndustryProduct"
type: array type: array
Meta: Meta:
$ref: "#/definitions/ResponseMeta" $ref: "#/definitions/ResponseMeta"
type: object 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: IndustryServiceRequest:
description: An array of IndustryService objects submitted for processing description: An array of IndustryService objects submitted for processing
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/IndustryService" $ref: "../../lib/swagger/defs/industry-service.yaml#/IndustryService"
type: array type: array
type: object type: object
IndustryServiceResponse: IndustryServiceResponse:
@ -4628,7 +4260,7 @@ definitions:
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/IndustryService" $ref: "../../lib/swagger/defs/industry-service.yaml#/IndustryService"
type: array type: array
Meta: Meta:
$ref: "#/definitions/ResponseMeta" $ref: "#/definitions/ResponseMeta"
@ -4671,59 +4303,12 @@ definitions:
format: int64 format: int64
type: number type: number
type: object 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: ObservationRequest:
description: An array of Observation objects submitted for processing description: An array of Observation objects submitted for processing
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/Observation" $ref: "../../lib/swagger/defs/observation.yaml#/Observation"
type: array type: array
type: object type: object
ObservationResponse: ObservationResponse:
@ -4731,7 +4316,7 @@ definitions:
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/Observation" $ref: "../../lib/swagger/defs/observation.yaml#/Observation"
type: array type: array
Meta: Meta:
$ref: "#/definitions/ResponseMeta" $ref: "#/definitions/ResponseMeta"
@ -5137,7 +4722,7 @@ definitions:
Factors: Factors:
description: The list of Factors used to analyze this industry description: The list of Factors used to analyze this industry
items: items:
$ref: "#/definitions/Factor" $ref: "../../lib/swagger/defs/factor.yaml#/Factor"
type: array type: array
x-nullable: true x-nullable: true
ID: ID:
@ -5716,7 +5301,7 @@ definitions:
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/Prompt" $ref: "../../lib/swagger/defs/prompt.yaml#/Prompt"
type: array type: array
type: object type: object
PromptResponse: PromptResponse:
@ -5724,7 +5309,7 @@ definitions:
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/Prompt" $ref: "../../lib/swagger/defs/prompt.yaml#/Prompt"
type: array type: array
Meta: Meta:
$ref: "#/definitions/ResponseMeta" $ref: "#/definitions/ResponseMeta"
@ -5765,104 +5350,3 @@ definitions:
Meta: Meta:
$ref: "#/definitions/ResponseMeta" $ref: "#/definitions/ResponseMeta"
type: object 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

View File

@ -1193,125 +1193,12 @@ definitions:
Meta: Meta:
$ref: "#/definitions/ResponseMeta" $ref: "#/definitions/ResponseMeta"
type: object 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: CompanyProductRequest:
description: An array of CompanyProduct objects submitted for processing description: An array of CompanyProduct objects submitted for processing
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/CompanyProduct" $ref: "../../lib/swagger/defs/company-product.yaml#/CompanyProduct"
type: array type: array
type: object type: object
CompanyProductResponse: CompanyProductResponse:
@ -1319,129 +1206,17 @@ definitions:
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/CompanyProduct" $ref: "../../lib/swagger/defs/company-product.yaml#/CompanyProduct"
type: array type: array
Meta: Meta:
$ref: "#/definitions/ResponseMeta" $ref: "#/definitions/ResponseMeta"
type: object 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: CompanyServiceRequest:
description: An array of CompanyService objects submitted for processing description: An array of CompanyService objects submitted for processing
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/CompanyService" $ref: "../../lib/swagger/defs/company-service.yaml#/CompanyService"
type: array type: array
type: object type: object
CompanyServiceResponse: CompanyServiceResponse:
@ -1449,7 +1224,7 @@ definitions:
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/CompanyService" $ref: "../../lib/swagger/defs/company-service.yaml#/CompanyService"
type: array type: array
Meta: Meta:
$ref: "#/definitions/ResponseMeta" $ref: "#/definitions/ResponseMeta"
@ -1465,57 +1240,12 @@ definitions:
type: object type: object
Error: Error:
$ref: ../../lib/swagger/defs/error.yaml#/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: FactorRequest:
description: An array of Factor objects submitted for processing description: An array of Factor objects submitted for processing
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/Factor" $ref: ../../lib/swagger/defs/factor.yaml#/Factor
type: array type: array
type: object type: object
FactorResponse: FactorResponse:
@ -1523,84 +1253,17 @@ definitions:
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/Factor" $ref: ../../lib/swagger/defs/factor.yaml#/Factor
type: array type: array
Meta: Meta:
$ref: "#/definitions/ResponseMeta" $ref: "#/definitions/ResponseMeta"
type: object 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: FinancialStatementRequest:
description: An array of FinancialStatement objects submitted for processing description: An array of FinancialStatement objects submitted for processing
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/FinancialStatement" $ref: "../../lib/swagger/defs/financial-statement.yaml#/FinancialStatement"
type: array type: array
type: object type: object
FinancialStatementResponse: FinancialStatementResponse:
@ -1608,132 +1271,17 @@ definitions:
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/FinancialStatement" $ref: "../../lib/swagger/defs/financial-statement.yaml#/FinancialStatement"
type: array type: array
Meta: Meta:
$ref: "#/definitions/ResponseMeta" $ref: "#/definitions/ResponseMeta"
type: object 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: IndustryCompanyRequest:
description: An array of IndustryCompany objects submitted for processing description: An array of IndustryCompany objects submitted for processing
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/IndustryCompany" $ref: "../../lib/swagger/defs/industry-company.yaml#/IndustryCompany"
type: array type: array
type: object type: object
IndustryCompanyResponse: IndustryCompanyResponse:
@ -1741,49 +1289,17 @@ definitions:
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/IndustryCompany" $ref: "../../lib/swagger/defs/industry-company.yaml#/IndustryCompany"
type: array type: array
Meta: Meta:
$ref: "#/definitions/ResponseMeta" $ref: "#/definitions/ResponseMeta"
type: object 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: IndustryProductRequest:
description: An array of IndustryProduct objects submitted for processing description: An array of IndustryProduct objects submitted for processing
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/IndustryProduct" $ref: "../../lib/swagger/defs/industry-product.yaml#/IndustryProduct"
type: array type: array
type: object type: object
IndustryProductResponse: IndustryProductResponse:
@ -1791,50 +1307,17 @@ definitions:
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/IndustryProduct" $ref: "../../lib/swagger/defs/industry-product.yaml#/IndustryProduct"
type: array type: array
Meta: Meta:
$ref: "#/definitions/ResponseMeta" $ref: "#/definitions/ResponseMeta"
type: object 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: IndustryServiceRequest:
description: An array of IndustryService objects submitted for processing description: An array of IndustryService objects submitted for processing
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/IndustryService" $ref: "../../lib/swagger/defs/industry-service.yaml#/IndustryService"
type: array type: array
type: object type: object
IndustryServiceResponse: IndustryServiceResponse:
@ -1842,7 +1325,7 @@ definitions:
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/IndustryService" $ref: "../../lib/swagger/defs/industry-service.yaml#/IndustryService"
type: array type: array
Meta: Meta:
$ref: "#/definitions/ResponseMeta" $ref: "#/definitions/ResponseMeta"
@ -1852,7 +1335,7 @@ definitions:
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/Industry" $ref: "../../lib/swagger/defs/industry.yaml#/Industry"
type: array type: array
type: object type: object
IndustryResponse: IndustryResponse:
@ -1860,7 +1343,7 @@ definitions:
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/Industry" $ref: "../../lib/swagger/defs/industry.yaml#/Industry"
type: array type: array
Meta: Meta:
$ref: "#/definitions/ResponseMeta" $ref: "#/definitions/ResponseMeta"
@ -1884,59 +1367,12 @@ definitions:
format: int64 format: int64
type: number type: number
type: object 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: ObservationRequest:
description: An array of Observation objects submitted for processing description: An array of Observation objects submitted for processing
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/Observation" $ref: "../../lib/swagger/defs/observation.yaml#/Observation"
type: array type: array
type: object type: object
ObservationResponse: ObservationResponse:
@ -1944,7 +1380,7 @@ definitions:
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/Observation" $ref: "../../lib/swagger/defs/observation.yaml#/Observation"
type: array type: array
Meta: Meta:
$ref: "#/definitions/ResponseMeta" $ref: "#/definitions/ResponseMeta"
@ -2028,7 +1464,7 @@ definitions:
Factors: Factors:
description: The list of Factors used to analyze this industry description: The list of Factors used to analyze this industry
items: items:
$ref: "#/definitions/Factor" $ref: "../../lib/swagger/defs/factor.yaml#/Factor"
type: array type: array
x-nullable: true x-nullable: true
ID: ID:

View File

@ -250,7 +250,7 @@ parameters:
name: financialStatementRequest name: financialStatementRequest
required: true required: true
schema: schema:
$ref: "#/definitions/FinancialStatement" $ref: "#/definitions/FinancialStatementRequest"
industryIdQuery: industryIdQuery:
description: Industry record ID description: Industry record ID
in: query in: query
@ -3681,85 +3681,11 @@ definitions:
meta: meta:
$ref: "#/definitions/ResponseMeta" $ref: "#/definitions/ResponseMeta"
type: object 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: CompanyProductRequest:
properties: properties:
data: data:
items: items:
$ref: "#/definitions/CompanyProduct" $ref: "../../lib/swagger/defs/company-product.yaml#/CompanyProduct"
type: array type: array
meta: meta:
$ref: "#/definitions/RequestMeta" $ref: "#/definitions/RequestMeta"
@ -3770,101 +3696,17 @@ definitions:
properties: properties:
data: data:
items: items:
$ref: "#/definitions/CompanyProduct" $ref: "../../lib/swagger/defs/company-product.yaml#/CompanyProduct"
type: array type: array
meta: meta:
$ref: "#/definitions/ResponseMeta" $ref: "#/definitions/ResponseMeta"
type: object 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: CompanyServiceRequest:
description: An array of CompanyService objects submitted for processing description: An array of CompanyService objects submitted for processing
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/CompanyService" $ref: "../../lib/swagger/defs/company-service.yaml#/CompanyService"
type: array type: array
type: object type: object
CompanyServiceResponse: CompanyServiceResponse:
@ -3872,7 +3714,7 @@ definitions:
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/CompanyService" $ref: "../../lib/swagger/defs/company-service.yaml#/CompanyService"
type: array type: array
Meta: Meta:
$ref: "#/definitions/ResponseMeta" $ref: "#/definitions/ResponseMeta"
@ -4315,57 +4157,12 @@ definitions:
Message: Message:
type: string type: string
type: object 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: FactorRequest:
description: An array of Factor objects submitted for processing description: An array of Factor objects submitted for processing
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/Factor" $ref: ../../lib/swagger/defs/factor.yaml#/Factor
type: array type: array
type: object type: object
FactorResponse: FactorResponse:
@ -4373,7 +4170,7 @@ definitions:
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/Factor" $ref: ../../lib/swagger/defs/factor.yaml#/Factor
type: array type: array
Meta: Meta:
$ref: "#/definitions/ResponseMeta" $ref: "#/definitions/ResponseMeta"
@ -4396,79 +4193,12 @@ definitions:
$ref: "../../lib/swagger/defs/favorite.yaml#/Favorite" $ref: "../../lib/swagger/defs/favorite.yaml#/Favorite"
type: array type: array
type: object 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: FinancialStatementRequest:
description: An array of FinancialStatement objects submitted for processing description: An array of FinancialStatement objects submitted for processing
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/FinancialStatement" $ref: "../../lib/swagger/defs/financial-statement.yaml#/FinancialStatement"
type: array type: array
type: object type: object
FinancialStatementResponse: FinancialStatementResponse:
@ -4476,49 +4206,17 @@ definitions:
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/FinancialStatement" $ref: "../../lib/swagger/defs/financial-statement.yaml#/FinancialStatement"
type: array type: array
Meta: Meta:
$ref: "#/definitions/ResponseMeta" $ref: "#/definitions/ResponseMeta"
type: object 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: IndustryCompanyRequest:
description: An array of IndustryCompany objects submitted for processing description: An array of IndustryCompany objects submitted for processing
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/IndustryCompany" $ref: "../../lib/swagger/defs/industry-company.yaml#/IndustryCompany"
type: array type: array
type: object type: object
IndustryCompanyResponse: IndustryCompanyResponse:
@ -4526,50 +4224,17 @@ definitions:
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/IndustryCompany" $ref: "../../lib/swagger/defs/industry-company.yaml#/IndustryCompany"
type: array type: array
Meta: Meta:
$ref: "#/definitions/ResponseMeta" $ref: "#/definitions/ResponseMeta"
type: object 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: IndustryProductRequest:
description: An array of IndustryProduct objects submitted for processing description: An array of IndustryProduct objects submitted for processing
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/IndustryProduct" $ref: "../../lib/swagger/defs/industry-product.yaml#/IndustryProduct"
type: array type: array
type: object type: object
IndustryProductResponse: IndustryProductResponse:
@ -4577,50 +4242,17 @@ definitions:
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/IndustryProduct" $ref: "../../lib/swagger/defs/industry-product.yaml#/IndustryProduct"
type: array type: array
Meta: Meta:
$ref: "#/definitions/ResponseMeta" $ref: "#/definitions/ResponseMeta"
type: object 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: IndustryServiceRequest:
description: An array of IndustryService objects submitted for processing description: An array of IndustryService objects submitted for processing
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/IndustryService" $ref: "../../lib/swagger/defs/industry-service.yaml#/IndustryService"
type: array type: array
type: object type: object
IndustryServiceResponse: IndustryServiceResponse:
@ -4628,7 +4260,7 @@ definitions:
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/IndustryService" $ref: "../../lib/swagger/defs/industry-service.yaml#/IndustryService"
type: array type: array
Meta: Meta:
$ref: "#/definitions/ResponseMeta" $ref: "#/definitions/ResponseMeta"
@ -4671,59 +4303,12 @@ definitions:
format: int64 format: int64
type: number type: number
type: object 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: ObservationRequest:
description: An array of Observation objects submitted for processing description: An array of Observation objects submitted for processing
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/Observation" $ref: "../../lib/swagger/defs/observation.yaml#/Observation"
type: array type: array
type: object type: object
ObservationResponse: ObservationResponse:
@ -4731,7 +4316,7 @@ definitions:
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/Observation" $ref: "../../lib/swagger/defs/observation.yaml#/Observation"
type: array type: array
Meta: Meta:
$ref: "#/definitions/ResponseMeta" $ref: "#/definitions/ResponseMeta"
@ -5137,7 +4722,7 @@ definitions:
Factors: Factors:
description: The list of Factors used to analyze this industry description: The list of Factors used to analyze this industry
items: items:
$ref: "#/definitions/Factor" $ref: "../../lib/swagger/defs/factor.yaml#/Factor"
type: array type: array
x-nullable: true x-nullable: true
ID: ID:
@ -5716,7 +5301,7 @@ definitions:
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/Prompt" $ref: "../../lib/swagger/defs/prompt.yaml#/Prompt"
type: array type: array
type: object type: object
PromptResponse: PromptResponse:
@ -5724,7 +5309,7 @@ definitions:
properties: properties:
Data: Data:
items: items:
$ref: "#/definitions/Prompt" $ref: "../../lib/swagger/defs/prompt.yaml#/Prompt"
type: array type: array
Meta: Meta:
$ref: "#/definitions/ResponseMeta" $ref: "#/definitions/ResponseMeta"
@ -5765,104 +5350,3 @@ definitions:
Meta: Meta:
$ref: "#/definitions/ResponseMeta" $ref: "#/definitions/ResponseMeta"
type: object 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