feat: Add AppExchange URL field to Account and Company models

The code changes include adding the `AppExchange` field to the `Account` and `Company` models in the `sfgate` and `plex` packages. This field is used to store the Salesforce AppExchange URL.
v0.6.2 v0.6.2
Vernon Keenan 2024-06-28 22:40:38 +00:00
parent 29f3ad980d
commit 4d2d5bf861
6 changed files with 864 additions and 842 deletions

View File

@ -38,6 +38,9 @@ type Company struct {
// Annual Revenue Estimate
AnnualRevenue *float64 `json:"AnnualRevenue,omitempty"`
// Salesforce AppExchange URL
AppExchange *string `json:"AppExchange,omitempty"`
// cloud revenue total
CloudRevenueTotal *float64 `json:"CloudRevenueTotal,omitempty"`

View File

@ -34,6 +34,9 @@ type Account struct {
// Annual Revenue Estimate
AnnualRevenue *float64 `json:"AnnualRevenue,omitempty"`
// AppExchange URL
AppExchange *string `json:"AppExchange,omitempty"`
// billing address
BillingAddress *Address `json:"BillingAddress,omitempty"`

View File

@ -166,6 +166,10 @@ definitions:
description: Annual Revenue Estimate
format: double
type: number
AppExchange:
x-nullable: true
description: Salesforce AppExchange URL
type: string
CloudRevenueTotal:
x-nullable: true
type: number

View File

@ -2898,6 +2898,10 @@ definitions:
format: double
type: number
x-nullable: true
AppExchange:
description: AppExchange URL
type: string
x-nullable: true
BillingAddress:
$ref: "#/definitions/Address"
x-nullable: true
@ -3542,9 +3546,6 @@ definitions:
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
@ -3568,6 +3569,9 @@ definitions:
description: Full Description of service
type: string
x-nullable: true
ID:
description: Record Id
type: string
ImageAltText:
description: Image Alt Text
type: string
@ -3579,7 +3583,7 @@ definitions:
Industries:
description: Industries
items:
$ref: "../../lib/swagger/defs/industry.yaml#/Industry"
$ref: ../../lib/swagger/defs/industry.yaml#/Industry
type: array
x-nullable: true
LastModifiedByID:
@ -3965,6 +3969,66 @@ definitions:
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
CourseLessonRequest:
description: An array of CourseLesson objects
properties:
Data:
items:
$ref: ../../lib/swagger/defs/course-lesson.yaml#/CourseLesson
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
CourseLessonResponse:
description: An array of CourseLesson objects
properties:
Data:
items:
$ref: ../../lib/swagger/defs/course-lesson.yaml#/CourseLesson
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
CourseRequest:
description: An array of Course objects
properties:
Data:
items:
$ref: ../../lib/swagger/defs/course.yaml#/Course
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
CourseResponse:
description: An array of Course objects
properties:
Data:
items:
$ref: ../../lib/swagger/defs/course.yaml#/Course
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
CourseSectionRequest:
description: An array of CourseSection objects
properties:
Data:
items:
$ref: ../../lib/swagger/defs/course-section.yaml#/CourseSection
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
CourseSectionResponse:
description: An array of CourseSection objects
properties:
Data:
items:
$ref: ../../lib/swagger/defs/course-section.yaml#/CourseSection
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
Database:
description: A Database provisioned and owned by a Tenant
properties:
@ -4020,26 +4084,6 @@ definitions:
type: string
x-nullable: true
type: object
DocumentRequest:
description: An array of Document objects
properties:
data:
items:
$ref: "../../lib/swagger/defs/document.yaml#/Document"
type: array
meta:
$ref: "#/definitions/RequestMeta"
type: object
DocumentResponse:
description: An array of Document objects
properties:
data:
items:
$ref: "../../lib/swagger/defs/document.yaml#/Document"
type: array
meta:
$ref: "#/definitions/ResponseMeta"
type: object
DatabaseRequest:
description: An array of Database objects
properties:
@ -4069,6 +4113,26 @@ definitions:
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
DocumentRequest:
description: An array of Document objects
properties:
data:
items:
$ref: ../../lib/swagger/defs/document.yaml#/Document
type: array
meta:
$ref: "#/definitions/RequestMeta"
type: object
DocumentResponse:
description: An array of Document objects
properties:
data:
items:
$ref: ../../lib/swagger/defs/document.yaml#/Document
type: array
meta:
$ref: "#/definitions/ResponseMeta"
type: object
Error:
properties:
Code:
@ -4079,6 +4143,44 @@ definitions:
Message:
type: string
type: object
EventCategoryRequest:
description: An array of EventCategory objects
properties:
Data:
items:
$ref: ../../lib/swagger/defs/event-category.yaml#/EventCategory
type: array
type: object
EventCategoryResponse:
description: An array of EventCategory objects
properties:
Data:
items:
$ref: ../../lib/swagger/defs/event-category.yaml#/EventCategory
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
EventRequest:
description: An array of Event objects
properties:
Data:
items:
$ref: ../../lib/swagger/defs/event.yaml#/Event
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
EventResponse:
description: An array of Event objects
properties:
Data:
items:
$ref: ../../lib/swagger/defs/event.yaml#/Event
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
Factor:
description: A Factor of analysis within a research topic
properties:
@ -4147,18 +4249,18 @@ definitions:
properties:
Data:
items:
$ref: "../../lib/swagger/defs/favorite.yaml#/Favorite"
$ref: ../../lib/swagger/defs/favorite.yaml#/Favorite
type: array
type: object
FavoriteResponse:
description: An array of Favorite objects
properties:
Meta:
$ref: "#/definitions/ResponseMeta"
Data:
items:
$ref: "../../lib/swagger/defs/favorite.yaml#/Favorite"
$ref: ../../lib/swagger/defs/favorite.yaml#/Favorite
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
FinancialStatement:
description: A financial statement for a company
@ -4315,7 +4417,7 @@ definitions:
description: Record Id
type: string
Industry:
$ref: "../../lib/swagger/defs/industry.yaml#/Industry"
$ref: ../../lib/swagger/defs/industry.yaml#/Industry
IndustryID:
type: string
x-nullable: true
@ -4346,12 +4448,27 @@ definitions:
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
IndustryRequest:
description: An array of Industry objects submitted for processing
properties:
Data:
items:
$ref: ../../lib/swagger/defs/industry.yaml#/Industry
type: array
type: object
IndustryResponse:
description: An array of Industry objects produced in response to a request
properties:
Data:
items:
$ref: ../../lib/swagger/defs/industry.yaml#/Industry
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
IndustryService:
description: Junction Object between Industry and CompanyService
properties:
ID:
description: Record Id
type: string
CompanyService:
$ref: "#/definitions/CompanyService"
CompanyServiceID:
@ -4365,8 +4482,11 @@ definitions:
description: Created Date
type: string
x-nullable: true
ID:
description: Record Id
type: string
Industry:
$ref: "../../lib/swagger/defs/industry.yaml#/Industry"
$ref: ../../lib/swagger/defs/industry.yaml#/Industry
IndustryID:
type: string
x-nullable: true
@ -4397,24 +4517,6 @@ definitions:
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
IndustryRequest:
description: An array of Industry objects submitted for processing
properties:
Data:
items:
$ref: "../../lib/swagger/defs/industry.yaml#/Industry"
type: array
type: object
IndustryResponse:
description: An array of Industry objects produced in response to a request
properties:
Data:
items:
$ref: "../../lib/swagger/defs/industry.yaml#/Industry"
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
InvalidError:
allOf:
- $ref: "#/definitions/Error"
@ -4515,12 +4617,113 @@ definitions:
format: int64
type: number
type: object
Prompt:
description: A prompt
properties:
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
ID:
description: Record Id
type: string
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
PromptAnswerRequest:
description: An array of Prompt objects
properties:
Data:
items:
$ref: "../../lib/swagger/defs/prompt-answer.yaml#/PromptAnswer"
$ref: ../../lib/swagger/defs/prompt-answer.yaml#/PromptAnswer
type: array
type: object
PromptAnswerResponse:
@ -4528,7 +4731,61 @@ definitions:
properties:
Data:
items:
$ref: "../../lib/swagger/defs/prompt-answer.yaml#/PromptAnswer"
$ref: ../../lib/swagger/defs/prompt-answer.yaml#/PromptAnswer
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
PromptCategoryRequest:
description: An array of PromptCategory objects
properties:
Data:
items:
$ref: ../../lib/swagger/defs/prompt-category.yaml#/PromptCategory
type: array
type: object
PromptCategoryResponse:
description: An array of PromptCategory objects
properties:
Data:
items:
$ref: ../../lib/swagger/defs/prompt-category.yaml#/PromptCategory
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
PromptRequest:
description: An array of Prompt objects
properties:
Data:
items:
$ref: "#/definitions/Prompt"
type: array
type: object
PromptResponse:
description: An array of Prompt objects
properties:
Data:
items:
$ref: "#/definitions/Prompt"
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
PromptTagRequest:
description: An array of PromptTag objects
properties:
Data:
items:
$ref: ../../lib/swagger/defs/prompt-tag.yaml#/PromptTag
type: array
type: object
PromptTagResponse:
description: An array of PromptTag objects
properties:
Data:
items:
$ref: ../../lib/swagger/defs/prompt-tag.yaml#/PromptTag
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
@ -4539,6 +4796,114 @@ definitions:
description: Account Number of the Reseller or OEM
type: string
type: object
ResearchProjectCompanyRequest:
description: An array of ResearchProjectCompany objects
properties:
Data:
items:
$ref: ../../lib/swagger/defs/research-project-company.yaml#/ResearchProjectCompany
type: array
type: object
ResearchProjectCompanyResponse:
description: An array of ResearchProjectCompany objects
properties:
Data:
items:
$ref: ../../lib/swagger/defs/research-project-company.yaml#/ResearchProjectCompany
type: array
Meta:
$ref: ../../lib/swagger/defs/response-meta.yaml#/ResponseMeta
type: object
ResearchProjectDocumentRequest:
description: An array of ResearchProjectDocument objects
properties:
Data:
items:
$ref: ../../lib/swagger/defs/research-project-document.yaml#/ResearchProjectDocument
type: array
type: object
ResearchProjectDocumentResponse:
description: An array of ResearchProjectDocument objects
properties:
Data:
items:
$ref: ../../lib/swagger/defs/research-project-document.yaml#/ResearchProjectDocument
type: array
Meta:
$ref: ../../lib/swagger/defs/response-meta.yaml#/ResponseMeta
type: object
ResearchProjectProductRequest:
description: An array of ResearchProjectProduct objects
properties:
Data:
items:
$ref: ../../lib/swagger/defs/research-project-product.yaml#/ResearchProjectProduct
type: array
type: object
ResearchProjectProductResponse:
description: An array of ResearchProjectProduct objects
properties:
Data:
items:
$ref: ../../lib/swagger/defs/research-project-product.yaml#/ResearchProjectProduct
type: array
Meta:
$ref: ../../lib/swagger/defs/response-meta.yaml#/ResponseMeta
type: object
ResearchProjectRequest:
description: An array of ResearchProject objects
properties:
Data:
items:
$ref: ../../lib/swagger/defs/research-project.yaml#/ResearchProject
type: array
type: object
ResearchProjectResponse:
description: An array of ResearchProject objects
properties:
Data:
items:
$ref: ../../lib/swagger/defs/research-project.yaml#/ResearchProject
type: array
Meta:
$ref: ../../lib/swagger/defs/response-meta.yaml#/ResponseMeta
type: object
ResearchProjectServiceRequest:
description: An array of ResearchProjectService objects
properties:
Data:
items:
$ref: ../../lib/swagger/defs/research-project-service.yaml#/ResearchProjectService
type: array
type: object
ResearchProjectServiceResponse:
description: An array of ResearchProjectService objects
properties:
Data:
items:
$ref: ../../lib/swagger/defs/research-project-service.yaml#/ResearchProjectService
type: array
Meta:
$ref: ../../lib/swagger/defs/response-meta.yaml#/ResponseMeta
type: object
ResearchProjectTopicRequest:
description: An array of ResearchProjectTopic objects
properties:
Data:
items:
$ref: ../../lib/swagger/defs/research-project-topic.yaml#/ResearchProjectTopic
type: array
type: object
ResearchProjectTopicResponse:
description: An array of ResearchProjectTopic objects
properties:
Data:
items:
$ref: ../../lib/swagger/defs/research-project-topic.yaml#/ResearchProjectTopic
type: array
Meta:
$ref: ../../lib/swagger/defs/response-meta.yaml#/ResponseMeta
type: object
ResponseMeta:
properties:
Contact:
@ -4547,6 +4912,9 @@ definitions:
Copyright:
description: Copyright Info
type: string
ExternalAccount:
description: Account Number used for recording transactions
type: string
License:
description: License Information and Restrictions
type: string
@ -4573,9 +4941,6 @@ definitions:
ServerTimestamp:
description: Backend Server Timestamp
type: string
ExternalAccount:
description: Account Number used for recording transactions
type: string
type: object
Role:
description: A functional role within a Tenant
@ -4959,6 +5324,10 @@ definitions:
description: Extension
type: string
x-nullable: true
ExternalAccount:
description: Account
type: string
x-nullable: true
FabricAPIKey:
description: Fabric API Key
type: string
@ -5094,10 +5463,6 @@ definitions:
description: Status
type: string
x-nullable: true
ExternalAccount:
description: Account
type: string
x-nullable: true
TenantID:
description: Tenant ID associated with this user
type: string
@ -5193,364 +5558,3 @@ definitions:
type: string
x-nullable: true
type: object
EventRequest:
description: An array of Event objects
properties:
Meta:
$ref: "#/definitions/ResponseMeta"
Data:
items:
$ref: "../../lib/swagger/defs/event.yaml#/Event"
type: array
type: object
EventResponse:
description: An array of Event objects
properties:
Meta:
$ref: "#/definitions/ResponseMeta"
Data:
items:
$ref: "../../lib/swagger/defs/event.yaml#/Event"
type: array
type: object
EventCategoryRequest:
description: An array of EventCategory objects
properties:
Data:
items:
$ref: "../../lib/swagger/defs/event-category.yaml#/EventCategory"
type: array
type: object
EventCategoryResponse:
description: An array of EventCategory objects
properties:
Meta:
$ref: "#/definitions/ResponseMeta"
Data:
items:
$ref: "../../lib/swagger/defs/event-category.yaml#/EventCategory"
type: array
type: object
CourseLessonRequest:
description: An array of CourseLesson objects
properties:
Data:
items:
$ref: "../../lib/swagger/defs/course-lesson.yaml#/CourseLesson"
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
CourseLessonResponse:
description: An array of CourseLesson objects
properties:
Data:
items:
$ref: "../../lib/swagger/defs/course-lesson.yaml#/CourseLesson"
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
CourseRequest:
description: An array of Course objects
properties:
Data:
items:
$ref: "../../lib/swagger/defs/course.yaml#/Course"
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
CourseResponse:
description: An array of Course objects
properties:
Data:
items:
$ref: "../../lib/swagger/defs/course.yaml#/Course"
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
CourseSectionRequest:
description: An array of CourseSection objects
properties:
Data:
items:
$ref: "../../lib/swagger/defs/course-section.yaml#/CourseSection"
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
CourseSectionResponse:
description: An array of CourseSection objects
properties:
Data:
items:
$ref: "../../lib/swagger/defs/course-section.yaml#/CourseSection"
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
ResearchProjectCompanyResponse:
description: An array of ResearchProjectCompany objects
properties:
Meta:
$ref: "../../lib/swagger/defs/response-meta.yaml#/ResponseMeta"
Data:
items:
$ref: "../../lib/swagger/defs/research-project-company.yaml#/ResearchProjectCompany"
type: array
type: object
ResearchProjectRequest:
description: An array of ResearchProject objects
properties:
Data:
items:
$ref: "../../lib/swagger/defs/research-project.yaml#/ResearchProject"
type: array
type: object
ResearchProjectResponse:
description: An array of ResearchProject objects
properties:
Meta:
$ref: "../../lib/swagger/defs/response-meta.yaml#/ResponseMeta"
Data:
items:
$ref: "../../lib/swagger/defs/research-project.yaml#/ResearchProject"
type: array
type: object
ResearchProjectDocumentRequest:
description: An array of ResearchProjectDocument objects
properties:
Data:
items:
$ref: "../../lib/swagger/defs/research-project-document.yaml#/ResearchProjectDocument"
type: array
type: object
ResearchProjectDocumentResponse:
description: An array of ResearchProjectDocument objects
properties:
Meta:
$ref: "../../lib/swagger/defs/response-meta.yaml#/ResponseMeta"
Data:
items:
$ref: "../../lib/swagger/defs/research-project-document.yaml#/ResearchProjectDocument"
type: array
type: object
ResearchProjectProductRequest:
description: An array of ResearchProjectProduct objects
properties:
Data:
items:
$ref: "../../lib/swagger/defs/research-project-product.yaml#/ResearchProjectProduct"
type: array
type: object
ResearchProjectProductResponse:
description: An array of ResearchProjectProduct objects
properties:
Meta:
$ref: "../../lib/swagger/defs/response-meta.yaml#/ResponseMeta"
Data:
items:
$ref: "../../lib/swagger/defs/research-project-product.yaml#/ResearchProjectProduct"
type: array
type: object
ResearchProjectTopicRequest:
description: An array of ResearchProjectTopic objects
properties:
Data:
items:
$ref: "../../lib/swagger/defs/research-project-topic.yaml#/ResearchProjectTopic"
type: array
type: object
ResearchProjectTopicResponse:
description: An array of ResearchProjectTopic objects
properties:
Meta:
$ref: "../../lib/swagger/defs/response-meta.yaml#/ResponseMeta"
Data:
items:
$ref: "../../lib/swagger/defs/research-project-topic.yaml#/ResearchProjectTopic"
type: array
type: object
ResearchProjectCompanyRequest:
description: An array of ResearchProjectCompany objects
properties:
Data:
items:
$ref: "../../lib/swagger/defs/research-project-company.yaml#/ResearchProjectCompany"
type: array
type: object
ResearchProjectServiceRequest:
description: An array of ResearchProjectService objects
properties:
Data:
items:
$ref: "../../lib/swagger/defs/research-project-service.yaml#/ResearchProjectService"
type: array
type: object
ResearchProjectServiceResponse:
description: An array of ResearchProjectService objects
properties:
Meta:
$ref: "../../lib/swagger/defs/response-meta.yaml#/ResponseMeta"
Data:
items:
$ref: "../../lib/swagger/defs/research-project-service.yaml#/ResearchProjectService"
type: array
type: object
PromptRequest:
description: An array of Prompt objects
properties:
Data:
items:
$ref: "#/definitions/Prompt"
type: array
type: object
PromptResponse:
description: An array of Prompt objects
properties:
Data:
items:
$ref: "#/definitions/Prompt"
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
PromptCategoryRequest:
description: An array of PromptCategory objects
properties:
Data:
items:
$ref: "../../lib/swagger/defs/prompt-category.yaml#/PromptCategory"
type: array
type: object
PromptCategoryResponse:
description: An array of PromptCategory objects
properties:
Data:
items:
$ref: "../../lib/swagger/defs/prompt-category.yaml#/PromptCategory"
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
PromptTagRequest:
description: An array of PromptTag objects
properties:
Data:
items:
$ref: "../../lib/swagger/defs/prompt-tag.yaml#/PromptTag"
type: array
type: object
PromptTagResponse:
description: An array of PromptTag objects
properties:
Data:
items:
$ref: "../../lib/swagger/defs/prompt-tag.yaml#/PromptTag"
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
Prompt:
description: A prompt
properties:
ID:
description: Record Id
type: string
CreatedByID:
description: The ID of the user who created the prompt
type: string
x-nullable: true
CreatedDate:
description: The date the prompt was created
type: string
x-nullable: true
Icon:
description: The icon for the prompt
type: string
x-nullable: true
ImageAltText:
description: The alt text for the prompt image
type: string
x-nullable: true
ImageURL:
description: The URL of the prompt image
type: string
x-nullable: true
LastModifiedByID:
description: The ID of the user who last modified the prompt
type: string
x-nullable: true
LastModifiedDate:
description: The date the prompt was last modified
type: string
x-nullable: true
Logo:
description: The logo for the prompt
type: string
x-nullable: true
Model:
description: The model for the prompt
type: string
x-nullable: true
Name:
description: The name of the prompt
type: string
x-nullable: true
Order:
description: The order of the prompt
type: number
x-nullable: true
Parameters:
description: A list of parameters encoded as JSON
type: string
x-nullable: true
Prompt:
description: The prompt text
type: string
x-nullable: true
PromptCategoryID:
description: The ID of the prompt category
type: string
x-nullable: true
ResearchProjectIDs:
description: A list of research project IDs
items:
type: string
type: array
x-nullable: true
Slug:
description: The slug for the prompt
type: string
x-nullable: true
SystemPrompt:
description: The System prompt to be used
type: string
x-nullable: true
Tags:
description: A list of tags (from salesforce newline separated)
type: string
x-nullable: true
Temperature:
description: The temperature of the prompt
type: number
x-nullable: true
TenantID:
description: The ID of the tenant
type: string
x-nullable: true
Title:
description: The title of the prompt
type: string
x-nullable: true
UsedCount:
description: The number of times the prompt has been used
type: number
x-nullable: true
UserID:
description: The ID of the user who created the prompt
type: string
x-nullable: true
type: object

View File

@ -166,6 +166,10 @@ definitions:
description: Annual Revenue Estimate
format: double
type: number
AppExchange:
x-nullable: true
description: Salesforce AppExchange URL
type: string
CloudRevenueTotal:
x-nullable: true
type: number

View File

@ -2898,6 +2898,10 @@ definitions:
format: double
type: number
x-nullable: true
AppExchange:
description: AppExchange URL
type: string
x-nullable: true
BillingAddress:
$ref: "#/definitions/Address"
x-nullable: true
@ -3542,9 +3546,6 @@ definitions:
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
@ -3568,6 +3569,9 @@ definitions:
description: Full Description of service
type: string
x-nullable: true
ID:
description: Record Id
type: string
ImageAltText:
description: Image Alt Text
type: string
@ -3579,7 +3583,7 @@ definitions:
Industries:
description: Industries
items:
$ref: "../../lib/swagger/defs/industry.yaml#/Industry"
$ref: ../../lib/swagger/defs/industry.yaml#/Industry
type: array
x-nullable: true
LastModifiedByID:
@ -3965,6 +3969,66 @@ definitions:
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
CourseLessonRequest:
description: An array of CourseLesson objects
properties:
Data:
items:
$ref: ../../lib/swagger/defs/course-lesson.yaml#/CourseLesson
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
CourseLessonResponse:
description: An array of CourseLesson objects
properties:
Data:
items:
$ref: ../../lib/swagger/defs/course-lesson.yaml#/CourseLesson
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
CourseRequest:
description: An array of Course objects
properties:
Data:
items:
$ref: ../../lib/swagger/defs/course.yaml#/Course
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
CourseResponse:
description: An array of Course objects
properties:
Data:
items:
$ref: ../../lib/swagger/defs/course.yaml#/Course
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
CourseSectionRequest:
description: An array of CourseSection objects
properties:
Data:
items:
$ref: ../../lib/swagger/defs/course-section.yaml#/CourseSection
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
CourseSectionResponse:
description: An array of CourseSection objects
properties:
Data:
items:
$ref: ../../lib/swagger/defs/course-section.yaml#/CourseSection
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
Database:
description: A Database provisioned and owned by a Tenant
properties:
@ -4020,26 +4084,6 @@ definitions:
type: string
x-nullable: true
type: object
DocumentRequest:
description: An array of Document objects
properties:
data:
items:
$ref: "../../lib/swagger/defs/document.yaml#/Document"
type: array
meta:
$ref: "#/definitions/RequestMeta"
type: object
DocumentResponse:
description: An array of Document objects
properties:
data:
items:
$ref: "../../lib/swagger/defs/document.yaml#/Document"
type: array
meta:
$ref: "#/definitions/ResponseMeta"
type: object
DatabaseRequest:
description: An array of Database objects
properties:
@ -4069,6 +4113,26 @@ definitions:
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
DocumentRequest:
description: An array of Document objects
properties:
data:
items:
$ref: ../../lib/swagger/defs/document.yaml#/Document
type: array
meta:
$ref: "#/definitions/RequestMeta"
type: object
DocumentResponse:
description: An array of Document objects
properties:
data:
items:
$ref: ../../lib/swagger/defs/document.yaml#/Document
type: array
meta:
$ref: "#/definitions/ResponseMeta"
type: object
Error:
properties:
Code:
@ -4079,6 +4143,44 @@ definitions:
Message:
type: string
type: object
EventCategoryRequest:
description: An array of EventCategory objects
properties:
Data:
items:
$ref: ../../lib/swagger/defs/event-category.yaml#/EventCategory
type: array
type: object
EventCategoryResponse:
description: An array of EventCategory objects
properties:
Data:
items:
$ref: ../../lib/swagger/defs/event-category.yaml#/EventCategory
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
EventRequest:
description: An array of Event objects
properties:
Data:
items:
$ref: ../../lib/swagger/defs/event.yaml#/Event
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
EventResponse:
description: An array of Event objects
properties:
Data:
items:
$ref: ../../lib/swagger/defs/event.yaml#/Event
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
Factor:
description: A Factor of analysis within a research topic
properties:
@ -4147,18 +4249,18 @@ definitions:
properties:
Data:
items:
$ref: "../../lib/swagger/defs/favorite.yaml#/Favorite"
$ref: ../../lib/swagger/defs/favorite.yaml#/Favorite
type: array
type: object
FavoriteResponse:
description: An array of Favorite objects
properties:
Meta:
$ref: "#/definitions/ResponseMeta"
Data:
items:
$ref: "../../lib/swagger/defs/favorite.yaml#/Favorite"
$ref: ../../lib/swagger/defs/favorite.yaml#/Favorite
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
FinancialStatement:
description: A financial statement for a company
@ -4315,7 +4417,7 @@ definitions:
description: Record Id
type: string
Industry:
$ref: "../../lib/swagger/defs/industry.yaml#/Industry"
$ref: ../../lib/swagger/defs/industry.yaml#/Industry
IndustryID:
type: string
x-nullable: true
@ -4346,12 +4448,27 @@ definitions:
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
IndustryRequest:
description: An array of Industry objects submitted for processing
properties:
Data:
items:
$ref: ../../lib/swagger/defs/industry.yaml#/Industry
type: array
type: object
IndustryResponse:
description: An array of Industry objects produced in response to a request
properties:
Data:
items:
$ref: ../../lib/swagger/defs/industry.yaml#/Industry
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
IndustryService:
description: Junction Object between Industry and CompanyService
properties:
ID:
description: Record Id
type: string
CompanyService:
$ref: "#/definitions/CompanyService"
CompanyServiceID:
@ -4365,8 +4482,11 @@ definitions:
description: Created Date
type: string
x-nullable: true
ID:
description: Record Id
type: string
Industry:
$ref: "../../lib/swagger/defs/industry.yaml#/Industry"
$ref: ../../lib/swagger/defs/industry.yaml#/Industry
IndustryID:
type: string
x-nullable: true
@ -4397,24 +4517,6 @@ definitions:
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
IndustryRequest:
description: An array of Industry objects submitted for processing
properties:
Data:
items:
$ref: "../../lib/swagger/defs/industry.yaml#/Industry"
type: array
type: object
IndustryResponse:
description: An array of Industry objects produced in response to a request
properties:
Data:
items:
$ref: "../../lib/swagger/defs/industry.yaml#/Industry"
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
InvalidError:
allOf:
- $ref: "#/definitions/Error"
@ -4515,12 +4617,113 @@ definitions:
format: int64
type: number
type: object
Prompt:
description: A prompt
properties:
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
ID:
description: Record Id
type: string
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
PromptAnswerRequest:
description: An array of Prompt objects
properties:
Data:
items:
$ref: "../../lib/swagger/defs/prompt-answer.yaml#/PromptAnswer"
$ref: ../../lib/swagger/defs/prompt-answer.yaml#/PromptAnswer
type: array
type: object
PromptAnswerResponse:
@ -4528,7 +4731,61 @@ definitions:
properties:
Data:
items:
$ref: "../../lib/swagger/defs/prompt-answer.yaml#/PromptAnswer"
$ref: ../../lib/swagger/defs/prompt-answer.yaml#/PromptAnswer
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
PromptCategoryRequest:
description: An array of PromptCategory objects
properties:
Data:
items:
$ref: ../../lib/swagger/defs/prompt-category.yaml#/PromptCategory
type: array
type: object
PromptCategoryResponse:
description: An array of PromptCategory objects
properties:
Data:
items:
$ref: ../../lib/swagger/defs/prompt-category.yaml#/PromptCategory
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
PromptRequest:
description: An array of Prompt objects
properties:
Data:
items:
$ref: "#/definitions/Prompt"
type: array
type: object
PromptResponse:
description: An array of Prompt objects
properties:
Data:
items:
$ref: "#/definitions/Prompt"
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
PromptTagRequest:
description: An array of PromptTag objects
properties:
Data:
items:
$ref: ../../lib/swagger/defs/prompt-tag.yaml#/PromptTag
type: array
type: object
PromptTagResponse:
description: An array of PromptTag objects
properties:
Data:
items:
$ref: ../../lib/swagger/defs/prompt-tag.yaml#/PromptTag
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
@ -4539,6 +4796,114 @@ definitions:
description: Account Number of the Reseller or OEM
type: string
type: object
ResearchProjectCompanyRequest:
description: An array of ResearchProjectCompany objects
properties:
Data:
items:
$ref: ../../lib/swagger/defs/research-project-company.yaml#/ResearchProjectCompany
type: array
type: object
ResearchProjectCompanyResponse:
description: An array of ResearchProjectCompany objects
properties:
Data:
items:
$ref: ../../lib/swagger/defs/research-project-company.yaml#/ResearchProjectCompany
type: array
Meta:
$ref: ../../lib/swagger/defs/response-meta.yaml#/ResponseMeta
type: object
ResearchProjectDocumentRequest:
description: An array of ResearchProjectDocument objects
properties:
Data:
items:
$ref: ../../lib/swagger/defs/research-project-document.yaml#/ResearchProjectDocument
type: array
type: object
ResearchProjectDocumentResponse:
description: An array of ResearchProjectDocument objects
properties:
Data:
items:
$ref: ../../lib/swagger/defs/research-project-document.yaml#/ResearchProjectDocument
type: array
Meta:
$ref: ../../lib/swagger/defs/response-meta.yaml#/ResponseMeta
type: object
ResearchProjectProductRequest:
description: An array of ResearchProjectProduct objects
properties:
Data:
items:
$ref: ../../lib/swagger/defs/research-project-product.yaml#/ResearchProjectProduct
type: array
type: object
ResearchProjectProductResponse:
description: An array of ResearchProjectProduct objects
properties:
Data:
items:
$ref: ../../lib/swagger/defs/research-project-product.yaml#/ResearchProjectProduct
type: array
Meta:
$ref: ../../lib/swagger/defs/response-meta.yaml#/ResponseMeta
type: object
ResearchProjectRequest:
description: An array of ResearchProject objects
properties:
Data:
items:
$ref: ../../lib/swagger/defs/research-project.yaml#/ResearchProject
type: array
type: object
ResearchProjectResponse:
description: An array of ResearchProject objects
properties:
Data:
items:
$ref: ../../lib/swagger/defs/research-project.yaml#/ResearchProject
type: array
Meta:
$ref: ../../lib/swagger/defs/response-meta.yaml#/ResponseMeta
type: object
ResearchProjectServiceRequest:
description: An array of ResearchProjectService objects
properties:
Data:
items:
$ref: ../../lib/swagger/defs/research-project-service.yaml#/ResearchProjectService
type: array
type: object
ResearchProjectServiceResponse:
description: An array of ResearchProjectService objects
properties:
Data:
items:
$ref: ../../lib/swagger/defs/research-project-service.yaml#/ResearchProjectService
type: array
Meta:
$ref: ../../lib/swagger/defs/response-meta.yaml#/ResponseMeta
type: object
ResearchProjectTopicRequest:
description: An array of ResearchProjectTopic objects
properties:
Data:
items:
$ref: ../../lib/swagger/defs/research-project-topic.yaml#/ResearchProjectTopic
type: array
type: object
ResearchProjectTopicResponse:
description: An array of ResearchProjectTopic objects
properties:
Data:
items:
$ref: ../../lib/swagger/defs/research-project-topic.yaml#/ResearchProjectTopic
type: array
Meta:
$ref: ../../lib/swagger/defs/response-meta.yaml#/ResponseMeta
type: object
ResponseMeta:
properties:
Contact:
@ -4547,6 +4912,9 @@ definitions:
Copyright:
description: Copyright Info
type: string
ExternalAccount:
description: Account Number used for recording transactions
type: string
License:
description: License Information and Restrictions
type: string
@ -4573,9 +4941,6 @@ definitions:
ServerTimestamp:
description: Backend Server Timestamp
type: string
ExternalAccount:
description: Account Number used for recording transactions
type: string
type: object
Role:
description: A functional role within a Tenant
@ -4959,6 +5324,10 @@ definitions:
description: Extension
type: string
x-nullable: true
ExternalAccount:
description: Account
type: string
x-nullable: true
FabricAPIKey:
description: Fabric API Key
type: string
@ -5094,10 +5463,6 @@ definitions:
description: Status
type: string
x-nullable: true
ExternalAccount:
description: Account
type: string
x-nullable: true
TenantID:
description: Tenant ID associated with this user
type: string
@ -5193,364 +5558,3 @@ definitions:
type: string
x-nullable: true
type: object
EventRequest:
description: An array of Event objects
properties:
Meta:
$ref: "#/definitions/ResponseMeta"
Data:
items:
$ref: "../../lib/swagger/defs/event.yaml#/Event"
type: array
type: object
EventResponse:
description: An array of Event objects
properties:
Meta:
$ref: "#/definitions/ResponseMeta"
Data:
items:
$ref: "../../lib/swagger/defs/event.yaml#/Event"
type: array
type: object
EventCategoryRequest:
description: An array of EventCategory objects
properties:
Data:
items:
$ref: "../../lib/swagger/defs/event-category.yaml#/EventCategory"
type: array
type: object
EventCategoryResponse:
description: An array of EventCategory objects
properties:
Meta:
$ref: "#/definitions/ResponseMeta"
Data:
items:
$ref: "../../lib/swagger/defs/event-category.yaml#/EventCategory"
type: array
type: object
CourseLessonRequest:
description: An array of CourseLesson objects
properties:
Data:
items:
$ref: "../../lib/swagger/defs/course-lesson.yaml#/CourseLesson"
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
CourseLessonResponse:
description: An array of CourseLesson objects
properties:
Data:
items:
$ref: "../../lib/swagger/defs/course-lesson.yaml#/CourseLesson"
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
CourseRequest:
description: An array of Course objects
properties:
Data:
items:
$ref: "../../lib/swagger/defs/course.yaml#/Course"
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
CourseResponse:
description: An array of Course objects
properties:
Data:
items:
$ref: "../../lib/swagger/defs/course.yaml#/Course"
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
CourseSectionRequest:
description: An array of CourseSection objects
properties:
Data:
items:
$ref: "../../lib/swagger/defs/course-section.yaml#/CourseSection"
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
CourseSectionResponse:
description: An array of CourseSection objects
properties:
Data:
items:
$ref: "../../lib/swagger/defs/course-section.yaml#/CourseSection"
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
ResearchProjectCompanyResponse:
description: An array of ResearchProjectCompany objects
properties:
Meta:
$ref: "../../lib/swagger/defs/response-meta.yaml#/ResponseMeta"
Data:
items:
$ref: "../../lib/swagger/defs/research-project-company.yaml#/ResearchProjectCompany"
type: array
type: object
ResearchProjectRequest:
description: An array of ResearchProject objects
properties:
Data:
items:
$ref: "../../lib/swagger/defs/research-project.yaml#/ResearchProject"
type: array
type: object
ResearchProjectResponse:
description: An array of ResearchProject objects
properties:
Meta:
$ref: "../../lib/swagger/defs/response-meta.yaml#/ResponseMeta"
Data:
items:
$ref: "../../lib/swagger/defs/research-project.yaml#/ResearchProject"
type: array
type: object
ResearchProjectDocumentRequest:
description: An array of ResearchProjectDocument objects
properties:
Data:
items:
$ref: "../../lib/swagger/defs/research-project-document.yaml#/ResearchProjectDocument"
type: array
type: object
ResearchProjectDocumentResponse:
description: An array of ResearchProjectDocument objects
properties:
Meta:
$ref: "../../lib/swagger/defs/response-meta.yaml#/ResponseMeta"
Data:
items:
$ref: "../../lib/swagger/defs/research-project-document.yaml#/ResearchProjectDocument"
type: array
type: object
ResearchProjectProductRequest:
description: An array of ResearchProjectProduct objects
properties:
Data:
items:
$ref: "../../lib/swagger/defs/research-project-product.yaml#/ResearchProjectProduct"
type: array
type: object
ResearchProjectProductResponse:
description: An array of ResearchProjectProduct objects
properties:
Meta:
$ref: "../../lib/swagger/defs/response-meta.yaml#/ResponseMeta"
Data:
items:
$ref: "../../lib/swagger/defs/research-project-product.yaml#/ResearchProjectProduct"
type: array
type: object
ResearchProjectTopicRequest:
description: An array of ResearchProjectTopic objects
properties:
Data:
items:
$ref: "../../lib/swagger/defs/research-project-topic.yaml#/ResearchProjectTopic"
type: array
type: object
ResearchProjectTopicResponse:
description: An array of ResearchProjectTopic objects
properties:
Meta:
$ref: "../../lib/swagger/defs/response-meta.yaml#/ResponseMeta"
Data:
items:
$ref: "../../lib/swagger/defs/research-project-topic.yaml#/ResearchProjectTopic"
type: array
type: object
ResearchProjectCompanyRequest:
description: An array of ResearchProjectCompany objects
properties:
Data:
items:
$ref: "../../lib/swagger/defs/research-project-company.yaml#/ResearchProjectCompany"
type: array
type: object
ResearchProjectServiceRequest:
description: An array of ResearchProjectService objects
properties:
Data:
items:
$ref: "../../lib/swagger/defs/research-project-service.yaml#/ResearchProjectService"
type: array
type: object
ResearchProjectServiceResponse:
description: An array of ResearchProjectService objects
properties:
Meta:
$ref: "../../lib/swagger/defs/response-meta.yaml#/ResponseMeta"
Data:
items:
$ref: "../../lib/swagger/defs/research-project-service.yaml#/ResearchProjectService"
type: array
type: object
PromptRequest:
description: An array of Prompt objects
properties:
Data:
items:
$ref: "#/definitions/Prompt"
type: array
type: object
PromptResponse:
description: An array of Prompt objects
properties:
Data:
items:
$ref: "#/definitions/Prompt"
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
PromptCategoryRequest:
description: An array of PromptCategory objects
properties:
Data:
items:
$ref: "../../lib/swagger/defs/prompt-category.yaml#/PromptCategory"
type: array
type: object
PromptCategoryResponse:
description: An array of PromptCategory objects
properties:
Data:
items:
$ref: "../../lib/swagger/defs/prompt-category.yaml#/PromptCategory"
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
PromptTagRequest:
description: An array of PromptTag objects
properties:
Data:
items:
$ref: "../../lib/swagger/defs/prompt-tag.yaml#/PromptTag"
type: array
type: object
PromptTagResponse:
description: An array of PromptTag objects
properties:
Data:
items:
$ref: "../../lib/swagger/defs/prompt-tag.yaml#/PromptTag"
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
Prompt:
description: A prompt
properties:
ID:
description: Record Id
type: string
CreatedByID:
description: The ID of the user who created the prompt
type: string
x-nullable: true
CreatedDate:
description: The date the prompt was created
type: string
x-nullable: true
Icon:
description: The icon for the prompt
type: string
x-nullable: true
ImageAltText:
description: The alt text for the prompt image
type: string
x-nullable: true
ImageURL:
description: The URL of the prompt image
type: string
x-nullable: true
LastModifiedByID:
description: The ID of the user who last modified the prompt
type: string
x-nullable: true
LastModifiedDate:
description: The date the prompt was last modified
type: string
x-nullable: true
Logo:
description: The logo for the prompt
type: string
x-nullable: true
Model:
description: The model for the prompt
type: string
x-nullable: true
Name:
description: The name of the prompt
type: string
x-nullable: true
Order:
description: The order of the prompt
type: number
x-nullable: true
Parameters:
description: A list of parameters encoded as JSON
type: string
x-nullable: true
Prompt:
description: The prompt text
type: string
x-nullable: true
PromptCategoryID:
description: The ID of the prompt category
type: string
x-nullable: true
ResearchProjectIDs:
description: A list of research project IDs
items:
type: string
type: array
x-nullable: true
Slug:
description: The slug for the prompt
type: string
x-nullable: true
SystemPrompt:
description: The System prompt to be used
type: string
x-nullable: true
Tags:
description: A list of tags (from salesforce newline separated)
type: string
x-nullable: true
Temperature:
description: The temperature of the prompt
type: number
x-nullable: true
TenantID:
description: The ID of the tenant
type: string
x-nullable: true
Title:
description: The title of the prompt
type: string
x-nullable: true
UsedCount:
description: The number of times the prompt has been used
type: number
x-nullable: true
UserID:
description: The ID of the user who created the prompt
type: string
x-nullable: true
type: object