now with pointers

v0.4.6 v0.4.6
Vernon Keenan 2023-04-15 14:27:18 +00:00
parent a7437fcd75
commit 5e5652ec10
90 changed files with 3596 additions and 1844 deletions

View File

@ -40,7 +40,7 @@ type ClientService interface {
PostAccounts(params *PostAccountsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAccountsOK, error)
PutAccount(params *PutAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutAccountOK, error)
PutAccounts(params *PutAccountsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutAccountsOK, error)
SetTransport(transport runtime.ClientTransport)
}
@ -169,24 +169,24 @@ func (a *Client) PostAccounts(params *PostAccountsParams, authInfo runtime.Clien
}
/*
PutAccount updates a single account
PutAccounts updates a single account
Update a single account specified by accountId
Update one or more accounts
*/
func (a *Client) PutAccount(params *PutAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutAccountOK, error) {
func (a *Client) PutAccounts(params *PutAccountsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutAccountsOK, error) {
// TODO: Validate the params before sending
if params == nil {
params = NewPutAccountParams()
params = NewPutAccountsParams()
}
op := &runtime.ClientOperation{
ID: "putAccount",
ID: "putAccounts",
Method: "PUT",
PathPattern: "/accounts",
ProducesMediaTypes: []string{"application/json"},
ConsumesMediaTypes: []string{"application/json"},
Schemes: []string{"http"},
Params: params,
Reader: &PutAccountReader{formats: a.formats},
Reader: &PutAccountsReader{formats: a.formats},
AuthInfo: authInfo,
Context: params.Context,
Client: params.HTTPClient,
@ -199,13 +199,13 @@ func (a *Client) PutAccount(params *PutAccountParams, authInfo runtime.ClientAut
if err != nil {
return nil, err
}
success, ok := result.(*PutAccountOK)
success, ok := result.(*PutAccountsOK)
if ok {
return success, nil
}
// unexpected success response
// safeguard: normally, absent a default response, unknown success responses return an error above: so this is a codegen issue
msg := fmt.Sprintf("unexpected success response for putAccount: API contract not enforced by server. Client expected to get an error, but got: %T", result)
msg := fmt.Sprintf("unexpected success response for putAccounts: API contract not enforced by server. Client expected to get an error, but got: %T", result)
panic(msg)
}

View File

@ -1,157 +0,0 @@
// Code generated by go-swagger; DO NOT EDIT.
// (c) 2012-2020 by Taxnexus, Inc.
// All rights reserved worldwide.
// Proprietary product; unlicensed use is not allowed
package accounts
// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command
import (
"context"
"net/http"
"time"
"github.com/go-openapi/errors"
"github.com/go-openapi/runtime"
cr "github.com/go-openapi/runtime/client"
"github.com/go-openapi/strfmt"
"code.tnxs.net/vernonkeenan/lib/api/crm/crm_models"
)
// NewPutAccountParams creates a new PutAccountParams object,
// with the default timeout for this client.
//
// Default values are not hydrated, since defaults are normally applied by the API server side.
//
// To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPutAccountParams() *PutAccountParams {
return &PutAccountParams{
timeout: cr.DefaultTimeout,
}
}
// NewPutAccountParamsWithTimeout creates a new PutAccountParams object
// with the ability to set a timeout on a request.
func NewPutAccountParamsWithTimeout(timeout time.Duration) *PutAccountParams {
return &PutAccountParams{
timeout: timeout,
}
}
// NewPutAccountParamsWithContext creates a new PutAccountParams object
// with the ability to set a context for a request.
func NewPutAccountParamsWithContext(ctx context.Context) *PutAccountParams {
return &PutAccountParams{
Context: ctx,
}
}
// NewPutAccountParamsWithHTTPClient creates a new PutAccountParams object
// with the ability to set a custom HTTPClient for a request.
func NewPutAccountParamsWithHTTPClient(client *http.Client) *PutAccountParams {
return &PutAccountParams{
HTTPClient: client,
}
}
/*
PutAccountParams contains all the parameters to send to the API endpoint
for the put account operation.
Typically these are written to a http.Request.
*/
type PutAccountParams struct {
/* AccountRequest.
An array of new Account records
*/
AccountRequest *crm_models.AccountRequest
timeout time.Duration
Context context.Context
HTTPClient *http.Client
}
// WithDefaults hydrates default values in the put account params (not the query body).
//
// All values with no default are reset to their zero value.
func (o *PutAccountParams) WithDefaults() *PutAccountParams {
o.SetDefaults()
return o
}
// SetDefaults hydrates default values in the put account params (not the query body).
//
// All values with no default are reset to their zero value.
func (o *PutAccountParams) SetDefaults() {
// no default values defined for this parameter
}
// WithTimeout adds the timeout to the put account params
func (o *PutAccountParams) WithTimeout(timeout time.Duration) *PutAccountParams {
o.SetTimeout(timeout)
return o
}
// SetTimeout adds the timeout to the put account params
func (o *PutAccountParams) SetTimeout(timeout time.Duration) {
o.timeout = timeout
}
// WithContext adds the context to the put account params
func (o *PutAccountParams) WithContext(ctx context.Context) *PutAccountParams {
o.SetContext(ctx)
return o
}
// SetContext adds the context to the put account params
func (o *PutAccountParams) SetContext(ctx context.Context) {
o.Context = ctx
}
// WithHTTPClient adds the HTTPClient to the put account params
func (o *PutAccountParams) WithHTTPClient(client *http.Client) *PutAccountParams {
o.SetHTTPClient(client)
return o
}
// SetHTTPClient adds the HTTPClient to the put account params
func (o *PutAccountParams) SetHTTPClient(client *http.Client) {
o.HTTPClient = client
}
// WithAccountRequest adds the accountRequest to the put account params
func (o *PutAccountParams) WithAccountRequest(accountRequest *crm_models.AccountRequest) *PutAccountParams {
o.SetAccountRequest(accountRequest)
return o
}
// SetAccountRequest adds the accountRequest to the put account params
func (o *PutAccountParams) SetAccountRequest(accountRequest *crm_models.AccountRequest) {
o.AccountRequest = accountRequest
}
// WriteToRequest writes these params to a swagger request
func (o *PutAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error {
if err := r.SetTimeout(o.timeout); err != nil {
return err
}
var res []error
if o.AccountRequest != nil {
if err := r.SetBodyParam(o.AccountRequest); err != nil {
return err
}
}
if len(res) > 0 {
return errors.CompositeValidationError(res...)
}
return nil
}

View File

@ -1,539 +0,0 @@
// Code generated by go-swagger; DO NOT EDIT.
// (c) 2012-2020 by Taxnexus, Inc.
// All rights reserved worldwide.
// Proprietary product; unlicensed use is not allowed
package accounts
// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command
import (
"fmt"
"io"
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"code.tnxs.net/vernonkeenan/lib/api/crm/crm_models"
)
// PutAccountReader is a Reader for the PutAccount structure.
type PutAccountReader struct {
formats strfmt.Registry
}
// ReadResponse reads a server response into the received o.
func (o *PutAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) {
switch response.Code() {
case 200:
result := NewPutAccountOK()
if err := result.readResponse(response, consumer, o.formats); err != nil {
return nil, err
}
return result, nil
case 401:
result := NewPutAccountUnauthorized()
if err := result.readResponse(response, consumer, o.formats); err != nil {
return nil, err
}
return nil, result
case 403:
result := NewPutAccountForbidden()
if err := result.readResponse(response, consumer, o.formats); err != nil {
return nil, err
}
return nil, result
case 404:
result := NewPutAccountNotFound()
if err := result.readResponse(response, consumer, o.formats); err != nil {
return nil, err
}
return nil, result
case 422:
result := NewPutAccountUnprocessableEntity()
if err := result.readResponse(response, consumer, o.formats); err != nil {
return nil, err
}
return nil, result
case 500:
result := NewPutAccountInternalServerError()
if err := result.readResponse(response, consumer, o.formats); err != nil {
return nil, err
}
return nil, result
default:
return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code())
}
}
// NewPutAccountOK creates a PutAccountOK with default headers values
func NewPutAccountOK() *PutAccountOK {
return &PutAccountOK{}
}
/*
PutAccountOK describes a response with status code 200, with default header values.
Response with Account objects with Contacts
*/
type PutAccountOK struct {
AccessControlAllowOrigin string
CacheControl string
Payload *crm_models.AccountResponse
}
// IsSuccess returns true when this put account o k response has a 2xx status code
func (o *PutAccountOK) IsSuccess() bool {
return true
}
// IsRedirect returns true when this put account o k response has a 3xx status code
func (o *PutAccountOK) IsRedirect() bool {
return false
}
// IsClientError returns true when this put account o k response has a 4xx status code
func (o *PutAccountOK) IsClientError() bool {
return false
}
// IsServerError returns true when this put account o k response has a 5xx status code
func (o *PutAccountOK) IsServerError() bool {
return false
}
// IsCode returns true when this put account o k response a status code equal to that given
func (o *PutAccountOK) IsCode(code int) bool {
return code == 200
}
// Code gets the status code for the put account o k response
func (o *PutAccountOK) Code() int {
return 200
}
func (o *PutAccountOK) Error() string {
return fmt.Sprintf("[PUT /accounts][%d] putAccountOK %+v", 200, o.Payload)
}
func (o *PutAccountOK) String() string {
return fmt.Sprintf("[PUT /accounts][%d] putAccountOK %+v", 200, o.Payload)
}
func (o *PutAccountOK) GetPayload() *crm_models.AccountResponse {
return o.Payload
}
func (o *PutAccountOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error {
// hydrates response header Access-Control-Allow-Origin
hdrAccessControlAllowOrigin := response.GetHeader("Access-Control-Allow-Origin")
if hdrAccessControlAllowOrigin != "" {
o.AccessControlAllowOrigin = hdrAccessControlAllowOrigin
}
// hydrates response header Cache-Control
hdrCacheControl := response.GetHeader("Cache-Control")
if hdrCacheControl != "" {
o.CacheControl = hdrCacheControl
}
o.Payload = new(crm_models.AccountResponse)
// response payload
if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF {
return err
}
return nil
}
// NewPutAccountUnauthorized creates a PutAccountUnauthorized with default headers values
func NewPutAccountUnauthorized() *PutAccountUnauthorized {
return &PutAccountUnauthorized{}
}
/*
PutAccountUnauthorized describes a response with status code 401, with default header values.
Access unauthorized, invalid API-KEY was used
*/
type PutAccountUnauthorized struct {
AccessControlAllowOrigin string
Payload *crm_models.Error
}
// IsSuccess returns true when this put account unauthorized response has a 2xx status code
func (o *PutAccountUnauthorized) IsSuccess() bool {
return false
}
// IsRedirect returns true when this put account unauthorized response has a 3xx status code
func (o *PutAccountUnauthorized) IsRedirect() bool {
return false
}
// IsClientError returns true when this put account unauthorized response has a 4xx status code
func (o *PutAccountUnauthorized) IsClientError() bool {
return true
}
// IsServerError returns true when this put account unauthorized response has a 5xx status code
func (o *PutAccountUnauthorized) IsServerError() bool {
return false
}
// IsCode returns true when this put account unauthorized response a status code equal to that given
func (o *PutAccountUnauthorized) IsCode(code int) bool {
return code == 401
}
// Code gets the status code for the put account unauthorized response
func (o *PutAccountUnauthorized) Code() int {
return 401
}
func (o *PutAccountUnauthorized) Error() string {
return fmt.Sprintf("[PUT /accounts][%d] putAccountUnauthorized %+v", 401, o.Payload)
}
func (o *PutAccountUnauthorized) String() string {
return fmt.Sprintf("[PUT /accounts][%d] putAccountUnauthorized %+v", 401, o.Payload)
}
func (o *PutAccountUnauthorized) GetPayload() *crm_models.Error {
return o.Payload
}
func (o *PutAccountUnauthorized) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error {
// hydrates response header Access-Control-Allow-Origin
hdrAccessControlAllowOrigin := response.GetHeader("Access-Control-Allow-Origin")
if hdrAccessControlAllowOrigin != "" {
o.AccessControlAllowOrigin = hdrAccessControlAllowOrigin
}
o.Payload = new(crm_models.Error)
// response payload
if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF {
return err
}
return nil
}
// NewPutAccountForbidden creates a PutAccountForbidden with default headers values
func NewPutAccountForbidden() *PutAccountForbidden {
return &PutAccountForbidden{}
}
/*
PutAccountForbidden describes a response with status code 403, with default header values.
Access forbidden, account lacks access
*/
type PutAccountForbidden struct {
AccessControlAllowOrigin string
Payload *crm_models.Error
}
// IsSuccess returns true when this put account forbidden response has a 2xx status code
func (o *PutAccountForbidden) IsSuccess() bool {
return false
}
// IsRedirect returns true when this put account forbidden response has a 3xx status code
func (o *PutAccountForbidden) IsRedirect() bool {
return false
}
// IsClientError returns true when this put account forbidden response has a 4xx status code
func (o *PutAccountForbidden) IsClientError() bool {
return true
}
// IsServerError returns true when this put account forbidden response has a 5xx status code
func (o *PutAccountForbidden) IsServerError() bool {
return false
}
// IsCode returns true when this put account forbidden response a status code equal to that given
func (o *PutAccountForbidden) IsCode(code int) bool {
return code == 403
}
// Code gets the status code for the put account forbidden response
func (o *PutAccountForbidden) Code() int {
return 403
}
func (o *PutAccountForbidden) Error() string {
return fmt.Sprintf("[PUT /accounts][%d] putAccountForbidden %+v", 403, o.Payload)
}
func (o *PutAccountForbidden) String() string {
return fmt.Sprintf("[PUT /accounts][%d] putAccountForbidden %+v", 403, o.Payload)
}
func (o *PutAccountForbidden) GetPayload() *crm_models.Error {
return o.Payload
}
func (o *PutAccountForbidden) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error {
// hydrates response header Access-Control-Allow-Origin
hdrAccessControlAllowOrigin := response.GetHeader("Access-Control-Allow-Origin")
if hdrAccessControlAllowOrigin != "" {
o.AccessControlAllowOrigin = hdrAccessControlAllowOrigin
}
o.Payload = new(crm_models.Error)
// response payload
if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF {
return err
}
return nil
}
// NewPutAccountNotFound creates a PutAccountNotFound with default headers values
func NewPutAccountNotFound() *PutAccountNotFound {
return &PutAccountNotFound{}
}
/*
PutAccountNotFound describes a response with status code 404, with default header values.
Resource was not found
*/
type PutAccountNotFound struct {
AccessControlAllowOrigin string
Payload *crm_models.Error
}
// IsSuccess returns true when this put account not found response has a 2xx status code
func (o *PutAccountNotFound) IsSuccess() bool {
return false
}
// IsRedirect returns true when this put account not found response has a 3xx status code
func (o *PutAccountNotFound) IsRedirect() bool {
return false
}
// IsClientError returns true when this put account not found response has a 4xx status code
func (o *PutAccountNotFound) IsClientError() bool {
return true
}
// IsServerError returns true when this put account not found response has a 5xx status code
func (o *PutAccountNotFound) IsServerError() bool {
return false
}
// IsCode returns true when this put account not found response a status code equal to that given
func (o *PutAccountNotFound) IsCode(code int) bool {
return code == 404
}
// Code gets the status code for the put account not found response
func (o *PutAccountNotFound) Code() int {
return 404
}
func (o *PutAccountNotFound) Error() string {
return fmt.Sprintf("[PUT /accounts][%d] putAccountNotFound %+v", 404, o.Payload)
}
func (o *PutAccountNotFound) String() string {
return fmt.Sprintf("[PUT /accounts][%d] putAccountNotFound %+v", 404, o.Payload)
}
func (o *PutAccountNotFound) GetPayload() *crm_models.Error {
return o.Payload
}
func (o *PutAccountNotFound) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error {
// hydrates response header Access-Control-Allow-Origin
hdrAccessControlAllowOrigin := response.GetHeader("Access-Control-Allow-Origin")
if hdrAccessControlAllowOrigin != "" {
o.AccessControlAllowOrigin = hdrAccessControlAllowOrigin
}
o.Payload = new(crm_models.Error)
// response payload
if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF {
return err
}
return nil
}
// NewPutAccountUnprocessableEntity creates a PutAccountUnprocessableEntity with default headers values
func NewPutAccountUnprocessableEntity() *PutAccountUnprocessableEntity {
return &PutAccountUnprocessableEntity{}
}
/*
PutAccountUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable Entity, likely a bad parameter
*/
type PutAccountUnprocessableEntity struct {
AccessControlAllowOrigin string
Payload *crm_models.Error
}
// IsSuccess returns true when this put account unprocessable entity response has a 2xx status code
func (o *PutAccountUnprocessableEntity) IsSuccess() bool {
return false
}
// IsRedirect returns true when this put account unprocessable entity response has a 3xx status code
func (o *PutAccountUnprocessableEntity) IsRedirect() bool {
return false
}
// IsClientError returns true when this put account unprocessable entity response has a 4xx status code
func (o *PutAccountUnprocessableEntity) IsClientError() bool {
return true
}
// IsServerError returns true when this put account unprocessable entity response has a 5xx status code
func (o *PutAccountUnprocessableEntity) IsServerError() bool {
return false
}
// IsCode returns true when this put account unprocessable entity response a status code equal to that given
func (o *PutAccountUnprocessableEntity) IsCode(code int) bool {
return code == 422
}
// Code gets the status code for the put account unprocessable entity response
func (o *PutAccountUnprocessableEntity) Code() int {
return 422
}
func (o *PutAccountUnprocessableEntity) Error() string {
return fmt.Sprintf("[PUT /accounts][%d] putAccountUnprocessableEntity %+v", 422, o.Payload)
}
func (o *PutAccountUnprocessableEntity) String() string {
return fmt.Sprintf("[PUT /accounts][%d] putAccountUnprocessableEntity %+v", 422, o.Payload)
}
func (o *PutAccountUnprocessableEntity) GetPayload() *crm_models.Error {
return o.Payload
}
func (o *PutAccountUnprocessableEntity) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error {
// hydrates response header Access-Control-Allow-Origin
hdrAccessControlAllowOrigin := response.GetHeader("Access-Control-Allow-Origin")
if hdrAccessControlAllowOrigin != "" {
o.AccessControlAllowOrigin = hdrAccessControlAllowOrigin
}
o.Payload = new(crm_models.Error)
// response payload
if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF {
return err
}
return nil
}
// NewPutAccountInternalServerError creates a PutAccountInternalServerError with default headers values
func NewPutAccountInternalServerError() *PutAccountInternalServerError {
return &PutAccountInternalServerError{}
}
/*
PutAccountInternalServerError describes a response with status code 500, with default header values.
Server Internal Error
*/
type PutAccountInternalServerError struct {
AccessControlAllowOrigin string
Payload *crm_models.Error
}
// IsSuccess returns true when this put account internal server error response has a 2xx status code
func (o *PutAccountInternalServerError) IsSuccess() bool {
return false
}
// IsRedirect returns true when this put account internal server error response has a 3xx status code
func (o *PutAccountInternalServerError) IsRedirect() bool {
return false
}
// IsClientError returns true when this put account internal server error response has a 4xx status code
func (o *PutAccountInternalServerError) IsClientError() bool {
return false
}
// IsServerError returns true when this put account internal server error response has a 5xx status code
func (o *PutAccountInternalServerError) IsServerError() bool {
return true
}
// IsCode returns true when this put account internal server error response a status code equal to that given
func (o *PutAccountInternalServerError) IsCode(code int) bool {
return code == 500
}
// Code gets the status code for the put account internal server error response
func (o *PutAccountInternalServerError) Code() int {
return 500
}
func (o *PutAccountInternalServerError) Error() string {
return fmt.Sprintf("[PUT /accounts][%d] putAccountInternalServerError %+v", 500, o.Payload)
}
func (o *PutAccountInternalServerError) String() string {
return fmt.Sprintf("[PUT /accounts][%d] putAccountInternalServerError %+v", 500, o.Payload)
}
func (o *PutAccountInternalServerError) GetPayload() *crm_models.Error {
return o.Payload
}
func (o *PutAccountInternalServerError) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error {
// hydrates response header Access-Control-Allow-Origin
hdrAccessControlAllowOrigin := response.GetHeader("Access-Control-Allow-Origin")
if hdrAccessControlAllowOrigin != "" {
o.AccessControlAllowOrigin = hdrAccessControlAllowOrigin
}
o.Payload = new(crm_models.Error)
// response payload
if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF {
return err
}
return nil
}

View File

@ -0,0 +1,157 @@
// Code generated by go-swagger; DO NOT EDIT.
// (c) 2012-2020 by Taxnexus, Inc.
// All rights reserved worldwide.
// Proprietary product; unlicensed use is not allowed
package accounts
// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command
import (
"context"
"net/http"
"time"
"github.com/go-openapi/errors"
"github.com/go-openapi/runtime"
cr "github.com/go-openapi/runtime/client"
"github.com/go-openapi/strfmt"
"code.tnxs.net/vernonkeenan/lib/api/crm/crm_models"
)
// NewPutAccountsParams creates a new PutAccountsParams object,
// with the default timeout for this client.
//
// Default values are not hydrated, since defaults are normally applied by the API server side.
//
// To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPutAccountsParams() *PutAccountsParams {
return &PutAccountsParams{
timeout: cr.DefaultTimeout,
}
}
// NewPutAccountsParamsWithTimeout creates a new PutAccountsParams object
// with the ability to set a timeout on a request.
func NewPutAccountsParamsWithTimeout(timeout time.Duration) *PutAccountsParams {
return &PutAccountsParams{
timeout: timeout,
}
}
// NewPutAccountsParamsWithContext creates a new PutAccountsParams object
// with the ability to set a context for a request.
func NewPutAccountsParamsWithContext(ctx context.Context) *PutAccountsParams {
return &PutAccountsParams{
Context: ctx,
}
}
// NewPutAccountsParamsWithHTTPClient creates a new PutAccountsParams object
// with the ability to set a custom HTTPClient for a request.
func NewPutAccountsParamsWithHTTPClient(client *http.Client) *PutAccountsParams {
return &PutAccountsParams{
HTTPClient: client,
}
}
/*
PutAccountsParams contains all the parameters to send to the API endpoint
for the put accounts operation.
Typically these are written to a http.Request.
*/
type PutAccountsParams struct {
/* AccountRequest.
An array of new Account records
*/
AccountRequest *crm_models.AccountRequest
timeout time.Duration
Context context.Context
HTTPClient *http.Client
}
// WithDefaults hydrates default values in the put accounts params (not the query body).
//
// All values with no default are reset to their zero value.
func (o *PutAccountsParams) WithDefaults() *PutAccountsParams {
o.SetDefaults()
return o
}
// SetDefaults hydrates default values in the put accounts params (not the query body).
//
// All values with no default are reset to their zero value.
func (o *PutAccountsParams) SetDefaults() {
// no default values defined for this parameter
}
// WithTimeout adds the timeout to the put accounts params
func (o *PutAccountsParams) WithTimeout(timeout time.Duration) *PutAccountsParams {
o.SetTimeout(timeout)
return o
}
// SetTimeout adds the timeout to the put accounts params
func (o *PutAccountsParams) SetTimeout(timeout time.Duration) {
o.timeout = timeout
}
// WithContext adds the context to the put accounts params
func (o *PutAccountsParams) WithContext(ctx context.Context) *PutAccountsParams {
o.SetContext(ctx)
return o
}
// SetContext adds the context to the put accounts params
func (o *PutAccountsParams) SetContext(ctx context.Context) {
o.Context = ctx
}
// WithHTTPClient adds the HTTPClient to the put accounts params
func (o *PutAccountsParams) WithHTTPClient(client *http.Client) *PutAccountsParams {
o.SetHTTPClient(client)
return o
}
// SetHTTPClient adds the HTTPClient to the put accounts params
func (o *PutAccountsParams) SetHTTPClient(client *http.Client) {
o.HTTPClient = client
}
// WithAccountRequest adds the accountRequest to the put accounts params
func (o *PutAccountsParams) WithAccountRequest(accountRequest *crm_models.AccountRequest) *PutAccountsParams {
o.SetAccountRequest(accountRequest)
return o
}
// SetAccountRequest adds the accountRequest to the put accounts params
func (o *PutAccountsParams) SetAccountRequest(accountRequest *crm_models.AccountRequest) {
o.AccountRequest = accountRequest
}
// WriteToRequest writes these params to a swagger request
func (o *PutAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error {
if err := r.SetTimeout(o.timeout); err != nil {
return err
}
var res []error
if o.AccountRequest != nil {
if err := r.SetBodyParam(o.AccountRequest); err != nil {
return err
}
}
if len(res) > 0 {
return errors.CompositeValidationError(res...)
}
return nil
}

View File

@ -0,0 +1,539 @@
// Code generated by go-swagger; DO NOT EDIT.
// (c) 2012-2020 by Taxnexus, Inc.
// All rights reserved worldwide.
// Proprietary product; unlicensed use is not allowed
package accounts
// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command
import (
"fmt"
"io"
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"code.tnxs.net/vernonkeenan/lib/api/crm/crm_models"
)
// PutAccountsReader is a Reader for the PutAccounts structure.
type PutAccountsReader struct {
formats strfmt.Registry
}
// ReadResponse reads a server response into the received o.
func (o *PutAccountsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) {
switch response.Code() {
case 200:
result := NewPutAccountsOK()
if err := result.readResponse(response, consumer, o.formats); err != nil {
return nil, err
}
return result, nil
case 401:
result := NewPutAccountsUnauthorized()
if err := result.readResponse(response, consumer, o.formats); err != nil {
return nil, err
}
return nil, result
case 403:
result := NewPutAccountsForbidden()
if err := result.readResponse(response, consumer, o.formats); err != nil {
return nil, err
}
return nil, result
case 404:
result := NewPutAccountsNotFound()
if err := result.readResponse(response, consumer, o.formats); err != nil {
return nil, err
}
return nil, result
case 422:
result := NewPutAccountsUnprocessableEntity()
if err := result.readResponse(response, consumer, o.formats); err != nil {
return nil, err
}
return nil, result
case 500:
result := NewPutAccountsInternalServerError()
if err := result.readResponse(response, consumer, o.formats); err != nil {
return nil, err
}
return nil, result
default:
return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code())
}
}
// NewPutAccountsOK creates a PutAccountsOK with default headers values
func NewPutAccountsOK() *PutAccountsOK {
return &PutAccountsOK{}
}
/*
PutAccountsOK describes a response with status code 200, with default header values.
Response with Account objects with Contacts
*/
type PutAccountsOK struct {
AccessControlAllowOrigin string
CacheControl string
Payload *crm_models.AccountResponse
}
// IsSuccess returns true when this put accounts o k response has a 2xx status code
func (o *PutAccountsOK) IsSuccess() bool {
return true
}
// IsRedirect returns true when this put accounts o k response has a 3xx status code
func (o *PutAccountsOK) IsRedirect() bool {
return false
}
// IsClientError returns true when this put accounts o k response has a 4xx status code
func (o *PutAccountsOK) IsClientError() bool {
return false
}
// IsServerError returns true when this put accounts o k response has a 5xx status code
func (o *PutAccountsOK) IsServerError() bool {
return false
}
// IsCode returns true when this put accounts o k response a status code equal to that given
func (o *PutAccountsOK) IsCode(code int) bool {
return code == 200
}
// Code gets the status code for the put accounts o k response
func (o *PutAccountsOK) Code() int {
return 200
}
func (o *PutAccountsOK) Error() string {
return fmt.Sprintf("[PUT /accounts][%d] putAccountsOK %+v", 200, o.Payload)
}
func (o *PutAccountsOK) String() string {
return fmt.Sprintf("[PUT /accounts][%d] putAccountsOK %+v", 200, o.Payload)
}
func (o *PutAccountsOK) GetPayload() *crm_models.AccountResponse {
return o.Payload
}
func (o *PutAccountsOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error {
// hydrates response header Access-Control-Allow-Origin
hdrAccessControlAllowOrigin := response.GetHeader("Access-Control-Allow-Origin")
if hdrAccessControlAllowOrigin != "" {
o.AccessControlAllowOrigin = hdrAccessControlAllowOrigin
}
// hydrates response header Cache-Control
hdrCacheControl := response.GetHeader("Cache-Control")
if hdrCacheControl != "" {
o.CacheControl = hdrCacheControl
}
o.Payload = new(crm_models.AccountResponse)
// response payload
if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF {
return err
}
return nil
}
// NewPutAccountsUnauthorized creates a PutAccountsUnauthorized with default headers values
func NewPutAccountsUnauthorized() *PutAccountsUnauthorized {
return &PutAccountsUnauthorized{}
}
/*
PutAccountsUnauthorized describes a response with status code 401, with default header values.
Access unauthorized, invalid API-KEY was used
*/
type PutAccountsUnauthorized struct {
AccessControlAllowOrigin string
Payload *crm_models.Error
}
// IsSuccess returns true when this put accounts unauthorized response has a 2xx status code
func (o *PutAccountsUnauthorized) IsSuccess() bool {
return false
}
// IsRedirect returns true when this put accounts unauthorized response has a 3xx status code
func (o *PutAccountsUnauthorized) IsRedirect() bool {
return false
}
// IsClientError returns true when this put accounts unauthorized response has a 4xx status code
func (o *PutAccountsUnauthorized) IsClientError() bool {
return true
}
// IsServerError returns true when this put accounts unauthorized response has a 5xx status code
func (o *PutAccountsUnauthorized) IsServerError() bool {
return false
}
// IsCode returns true when this put accounts unauthorized response a status code equal to that given
func (o *PutAccountsUnauthorized) IsCode(code int) bool {
return code == 401
}
// Code gets the status code for the put accounts unauthorized response
func (o *PutAccountsUnauthorized) Code() int {
return 401
}
func (o *PutAccountsUnauthorized) Error() string {
return fmt.Sprintf("[PUT /accounts][%d] putAccountsUnauthorized %+v", 401, o.Payload)
}
func (o *PutAccountsUnauthorized) String() string {
return fmt.Sprintf("[PUT /accounts][%d] putAccountsUnauthorized %+v", 401, o.Payload)
}
func (o *PutAccountsUnauthorized) GetPayload() *crm_models.Error {
return o.Payload
}
func (o *PutAccountsUnauthorized) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error {
// hydrates response header Access-Control-Allow-Origin
hdrAccessControlAllowOrigin := response.GetHeader("Access-Control-Allow-Origin")
if hdrAccessControlAllowOrigin != "" {
o.AccessControlAllowOrigin = hdrAccessControlAllowOrigin
}
o.Payload = new(crm_models.Error)
// response payload
if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF {
return err
}
return nil
}
// NewPutAccountsForbidden creates a PutAccountsForbidden with default headers values
func NewPutAccountsForbidden() *PutAccountsForbidden {
return &PutAccountsForbidden{}
}
/*
PutAccountsForbidden describes a response with status code 403, with default header values.
Access forbidden, account lacks access
*/
type PutAccountsForbidden struct {
AccessControlAllowOrigin string
Payload *crm_models.Error
}
// IsSuccess returns true when this put accounts forbidden response has a 2xx status code
func (o *PutAccountsForbidden) IsSuccess() bool {
return false
}
// IsRedirect returns true when this put accounts forbidden response has a 3xx status code
func (o *PutAccountsForbidden) IsRedirect() bool {
return false
}
// IsClientError returns true when this put accounts forbidden response has a 4xx status code
func (o *PutAccountsForbidden) IsClientError() bool {
return true
}
// IsServerError returns true when this put accounts forbidden response has a 5xx status code
func (o *PutAccountsForbidden) IsServerError() bool {
return false
}
// IsCode returns true when this put accounts forbidden response a status code equal to that given
func (o *PutAccountsForbidden) IsCode(code int) bool {
return code == 403
}
// Code gets the status code for the put accounts forbidden response
func (o *PutAccountsForbidden) Code() int {
return 403
}
func (o *PutAccountsForbidden) Error() string {
return fmt.Sprintf("[PUT /accounts][%d] putAccountsForbidden %+v", 403, o.Payload)
}
func (o *PutAccountsForbidden) String() string {
return fmt.Sprintf("[PUT /accounts][%d] putAccountsForbidden %+v", 403, o.Payload)
}
func (o *PutAccountsForbidden) GetPayload() *crm_models.Error {
return o.Payload
}
func (o *PutAccountsForbidden) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error {
// hydrates response header Access-Control-Allow-Origin
hdrAccessControlAllowOrigin := response.GetHeader("Access-Control-Allow-Origin")
if hdrAccessControlAllowOrigin != "" {
o.AccessControlAllowOrigin = hdrAccessControlAllowOrigin
}
o.Payload = new(crm_models.Error)
// response payload
if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF {
return err
}
return nil
}
// NewPutAccountsNotFound creates a PutAccountsNotFound with default headers values
func NewPutAccountsNotFound() *PutAccountsNotFound {
return &PutAccountsNotFound{}
}
/*
PutAccountsNotFound describes a response with status code 404, with default header values.
Resource was not found
*/
type PutAccountsNotFound struct {
AccessControlAllowOrigin string
Payload *crm_models.Error
}
// IsSuccess returns true when this put accounts not found response has a 2xx status code
func (o *PutAccountsNotFound) IsSuccess() bool {
return false
}
// IsRedirect returns true when this put accounts not found response has a 3xx status code
func (o *PutAccountsNotFound) IsRedirect() bool {
return false
}
// IsClientError returns true when this put accounts not found response has a 4xx status code
func (o *PutAccountsNotFound) IsClientError() bool {
return true
}
// IsServerError returns true when this put accounts not found response has a 5xx status code
func (o *PutAccountsNotFound) IsServerError() bool {
return false
}
// IsCode returns true when this put accounts not found response a status code equal to that given
func (o *PutAccountsNotFound) IsCode(code int) bool {
return code == 404
}
// Code gets the status code for the put accounts not found response
func (o *PutAccountsNotFound) Code() int {
return 404
}
func (o *PutAccountsNotFound) Error() string {
return fmt.Sprintf("[PUT /accounts][%d] putAccountsNotFound %+v", 404, o.Payload)
}
func (o *PutAccountsNotFound) String() string {
return fmt.Sprintf("[PUT /accounts][%d] putAccountsNotFound %+v", 404, o.Payload)
}
func (o *PutAccountsNotFound) GetPayload() *crm_models.Error {
return o.Payload
}
func (o *PutAccountsNotFound) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error {
// hydrates response header Access-Control-Allow-Origin
hdrAccessControlAllowOrigin := response.GetHeader("Access-Control-Allow-Origin")
if hdrAccessControlAllowOrigin != "" {
o.AccessControlAllowOrigin = hdrAccessControlAllowOrigin
}
o.Payload = new(crm_models.Error)
// response payload
if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF {
return err
}
return nil
}
// NewPutAccountsUnprocessableEntity creates a PutAccountsUnprocessableEntity with default headers values
func NewPutAccountsUnprocessableEntity() *PutAccountsUnprocessableEntity {
return &PutAccountsUnprocessableEntity{}
}
/*
PutAccountsUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable Entity, likely a bad parameter
*/
type PutAccountsUnprocessableEntity struct {
AccessControlAllowOrigin string
Payload *crm_models.Error
}
// IsSuccess returns true when this put accounts unprocessable entity response has a 2xx status code
func (o *PutAccountsUnprocessableEntity) IsSuccess() bool {
return false
}
// IsRedirect returns true when this put accounts unprocessable entity response has a 3xx status code
func (o *PutAccountsUnprocessableEntity) IsRedirect() bool {
return false
}
// IsClientError returns true when this put accounts unprocessable entity response has a 4xx status code
func (o *PutAccountsUnprocessableEntity) IsClientError() bool {
return true
}
// IsServerError returns true when this put accounts unprocessable entity response has a 5xx status code
func (o *PutAccountsUnprocessableEntity) IsServerError() bool {
return false
}
// IsCode returns true when this put accounts unprocessable entity response a status code equal to that given
func (o *PutAccountsUnprocessableEntity) IsCode(code int) bool {
return code == 422
}
// Code gets the status code for the put accounts unprocessable entity response
func (o *PutAccountsUnprocessableEntity) Code() int {
return 422
}
func (o *PutAccountsUnprocessableEntity) Error() string {
return fmt.Sprintf("[PUT /accounts][%d] putAccountsUnprocessableEntity %+v", 422, o.Payload)
}
func (o *PutAccountsUnprocessableEntity) String() string {
return fmt.Sprintf("[PUT /accounts][%d] putAccountsUnprocessableEntity %+v", 422, o.Payload)
}
func (o *PutAccountsUnprocessableEntity) GetPayload() *crm_models.Error {
return o.Payload
}
func (o *PutAccountsUnprocessableEntity) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error {
// hydrates response header Access-Control-Allow-Origin
hdrAccessControlAllowOrigin := response.GetHeader("Access-Control-Allow-Origin")
if hdrAccessControlAllowOrigin != "" {
o.AccessControlAllowOrigin = hdrAccessControlAllowOrigin
}
o.Payload = new(crm_models.Error)
// response payload
if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF {
return err
}
return nil
}
// NewPutAccountsInternalServerError creates a PutAccountsInternalServerError with default headers values
func NewPutAccountsInternalServerError() *PutAccountsInternalServerError {
return &PutAccountsInternalServerError{}
}
/*
PutAccountsInternalServerError describes a response with status code 500, with default header values.
Server Internal Error
*/
type PutAccountsInternalServerError struct {
AccessControlAllowOrigin string
Payload *crm_models.Error
}
// IsSuccess returns true when this put accounts internal server error response has a 2xx status code
func (o *PutAccountsInternalServerError) IsSuccess() bool {
return false
}
// IsRedirect returns true when this put accounts internal server error response has a 3xx status code
func (o *PutAccountsInternalServerError) IsRedirect() bool {
return false
}
// IsClientError returns true when this put accounts internal server error response has a 4xx status code
func (o *PutAccountsInternalServerError) IsClientError() bool {
return false
}
// IsServerError returns true when this put accounts internal server error response has a 5xx status code
func (o *PutAccountsInternalServerError) IsServerError() bool {
return true
}
// IsCode returns true when this put accounts internal server error response a status code equal to that given
func (o *PutAccountsInternalServerError) IsCode(code int) bool {
return code == 500
}
// Code gets the status code for the put accounts internal server error response
func (o *PutAccountsInternalServerError) Code() int {
return 500
}
func (o *PutAccountsInternalServerError) Error() string {
return fmt.Sprintf("[PUT /accounts][%d] putAccountsInternalServerError %+v", 500, o.Payload)
}
func (o *PutAccountsInternalServerError) String() string {
return fmt.Sprintf("[PUT /accounts][%d] putAccountsInternalServerError %+v", 500, o.Payload)
}
func (o *PutAccountsInternalServerError) GetPayload() *crm_models.Error {
return o.Payload
}
func (o *PutAccountsInternalServerError) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error {
// hydrates response header Access-Control-Allow-Origin
hdrAccessControlAllowOrigin := response.GetHeader("Access-Control-Allow-Origin")
if hdrAccessControlAllowOrigin != "" {
o.AccessControlAllowOrigin = hdrAccessControlAllowOrigin
}
o.Payload = new(crm_models.Error)
// response payload
if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF {
return err
}
return nil
}

View File

@ -23,169 +23,169 @@ import (
type Account struct {
// Account Number
AccountNumber string `json:"AccountNumber,omitempty"`
AccountNumber *string `json:"AccountNumber,omitempty"`
// The marketing origin of this account
AccountSource string `json:"AccountSource,omitempty"`
AccountSource *string `json:"AccountSource,omitempty"`
// active
Active bool `json:"Active,omitempty"`
Active *bool `json:"Active,omitempty"`
// Annual Revenue Estimate
AnnualRevenue float64 `json:"AnnualRevenue,omitempty"`
AnnualRevenue *float64 `json:"AnnualRevenue,omitempty"`
// billing address
BillingAddress *Address `json:"BillingAddress,omitempty"`
// Contact ID
BillingContactID string `json:"BillingContactID,omitempty"`
BillingContactID *string `json:"BillingContactID,omitempty"`
// Close Date
CloseDate string `json:"CloseDate,omitempty"`
ClosedDate *string `json:"ClosedDate,omitempty"`
// cloud revenue total
CloudRevenueTotal float64 `json:"CloudRevenueTotal,omitempty"`
CloudRevenueTotal *float64 `json:"CloudRevenueTotal,omitempty"`
// The type of cloud company
CloudType string `json:"CloudType,omitempty"`
CloudType *string `json:"CloudType,omitempty"`
// The year company started cloud revenue
CloudYear string `json:"CloudYear,omitempty"`
CloudYear *string `json:"CloudYear,omitempty"`
// Created By User ID
CreatedByID string `json:"CreatedByID,omitempty"`
CreatedByID *string `json:"CreatedByID,omitempty"`
// Created Date
CreatedDate string `json:"CreatedDate,omitempty"`
CreatedDate *string `json:"CreatedDate,omitempty"`
// Crunchbase URL
CrunchbaseURL string `json:"CrunchbaseURL,omitempty"`
CrunchbaseURL *string `json:"CrunchbaseURL,omitempty"`
// Description of the account
Description string `json:"Description,omitempty"`
Description *string `json:"Description,omitempty"`
// e i n
EIN string `json:"EIN,omitempty"`
EIN *string `json:"EIN,omitempty"`
// Earnings Call Date
EarningsCall string `json:"EarningsCall,omitempty"`
EarningsCall *string `json:"EarningsCall,omitempty"`
// Main Account Email
Email string `json:"Email,omitempty"`
Email *string `json:"Email,omitempty"`
// The amount of equity EquityFunding
EquityFunding float64 `json:"EquityFunding,omitempty"`
EquityFunding *float64 `json:"EquityFunding,omitempty"`
// Company Facebook URL
Facebook string `json:"Facebook,omitempty"`
Facebook *string `json:"Facebook,omitempty"`
// Fax number
Fax string `json:"Fax,omitempty"`
Fax *string `json:"Fax,omitempty"`
// Date company founded
FoundedDate string `json:"FoundedDate,omitempty"`
FoundedDate *string `json:"FoundedDate,omitempty"`
// Account Id
ID string `json:"ID,omitempty"`
// IPO Date
IPODate string `json:"IPODate,omitempty"`
IPODate *string `json:"IPODate,omitempty"`
// image alt text
ImageAltText string `json:"ImageAltText,omitempty"`
ImageAltText *string `json:"ImageAltText,omitempty"`
// image URL
ImageURL string `json:"ImageURL,omitempty"`
ImageURL *string `json:"ImageURL,omitempty"`
// Industries
Industries string `json:"Industries,omitempty"`
Industries *string `json:"Industries,omitempty"`
// Industry
Industry string `json:"Industry,omitempty"`
Industry *string `json:"Industry,omitempty"`
// Last Modified By User ID
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
// Last Modified Date
LastModifiedDate string `json:"LastModifiedDate,omitempty"`
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
// Company LinkedIn URL
LinkedIn string `json:"LinkedIn,omitempty"`
LinkedIn *string `json:"LinkedIn,omitempty"`
// Headquarters Location Description
Location string `json:"Location,omitempty"`
Location *string `json:"Location,omitempty"`
// Company Logo URL
Logo string `json:"Logo,omitempty"`
Logo *string `json:"Logo,omitempty"`
// Market Capitalization
MarketCapitalization float64 `json:"MarketCapitalization,omitempty"`
MarketCapitalization *float64 `json:"MarketCapitalization,omitempty"`
// Account Name
Name string `json:"Name,omitempty"`
Name *string `json:"Name,omitempty"`
// Number of Investments
NumberInvestments float64 `json:"NumberInvestments,omitempty"`
NumberInvestments *float64 `json:"NumberInvestments,omitempty"`
// Employee Count Estimate
NumberOfEmployees int64 `json:"NumberOfEmployees,omitempty"`
NumberOfEmployees *int64 `json:"NumberOfEmployees,omitempty"`
// Account Owner User ID
OwnerID string `json:"OwnerID,omitempty"`
OwnerID *string `json:"OwnerID,omitempty"`
// Ownership
Ownership string `json:"Ownership,omitempty"`
Ownership *string `json:"Ownership,omitempty"`
// Parent Account
ParentID string `json:"ParentID,omitempty"`
ParentID *string `json:"ParentID,omitempty"`
// Phone
Phone string `json:"Phone,omitempty"`
Phone *string `json:"Phone,omitempty"`
// Publish this record?
Publish bool `json:"Publish,omitempty"`
Publish *bool `json:"Publish,omitempty"`
// SIC Code
SIC string `json:"SIC,omitempty"`
SIC *string `json:"SIC,omitempty"`
// SIC Description
SICDesc string `json:"SICDesc,omitempty"`
SICDesc *string `json:"SICDesc,omitempty"`
// A Salesforce-First company?
SalesforceFirst bool `json:"SalesforceFirst,omitempty"`
SalesforceFirst *bool `json:"SalesforceFirst,omitempty"`
// shipping address
ShippingAddress *Address `json:"ShippingAddress,omitempty"`
// Shipping Contact ID
ShippingContactID string `json:"ShippingContactID,omitempty"`
ShippingContactID *string `json:"ShippingContactID,omitempty"`
// Account Site
Site string `json:"Site,omitempty"`
Site *string `json:"Site,omitempty"`
// Slug
Slug string `json:"Slug,omitempty"`
Slug *string `json:"Slug,omitempty"`
// Company tagline
TagLine string `json:"TagLine,omitempty"`
TagLine *string `json:"TagLine,omitempty"`
// Tenant Identifier
TenantID string `json:"TenantID,omitempty"`
TenantID *string `json:"TenantID,omitempty"`
// Ticker Symbol
TickerSymbol string `json:"TickerSymbol,omitempty"`
TickerSymbol *string `json:"TickerSymbol,omitempty"`
// Twitter URL
Twitter string `json:"Twitter,omitempty"`
Twitter *string `json:"Twitter,omitempty"`
// Type
Type string `json:"Type,omitempty"`
Type *string `json:"Type,omitempty"`
// Website
Website string `json:"Website,omitempty"`
Website *string `json:"Website,omitempty"`
// Year Started
YearStarted string `json:"YearStarted,omitempty"`
YearStarted *string `json:"YearStarted,omitempty"`
}
// Validate validates this account

View File

@ -22,25 +22,25 @@ import (
type Address struct {
// City
City string `json:"City,omitempty"`
City *string `json:"City,omitempty"`
// Country full name
Country string `json:"Country,omitempty"`
Country *string `json:"Country,omitempty"`
// Country Code
CountryCode string `json:"CountryCode,omitempty"`
CountryCode *string `json:"CountryCode,omitempty"`
// Postal Code
PostalCode string `json:"PostalCode,omitempty"`
PostalCode *string `json:"PostalCode,omitempty"`
// State full name
State string `json:"State,omitempty"`
State *string `json:"State,omitempty"`
// State Code
StateCode string `json:"StateCode,omitempty"`
StateCode *string `json:"StateCode,omitempty"`
// Street number and name
Street string `json:"Street,omitempty"`
Street *string `json:"Street,omitempty"`
}
// Validate validates this address

View File

@ -23,142 +23,142 @@ import (
type Asset struct {
// Account
AccountID string `json:"AccountID,omitempty"`
AccountID *string `json:"AccountID,omitempty"`
// address
Address *Address `json:"Address,omitempty"`
// Asset Level
AssetLevel float64 `json:"AssetLevel,omitempty"`
AssetLevel *float64 `json:"AssetLevel,omitempty"`
// Asset Provided By
AssetProvidedByID string `json:"AssetProvidedByID,omitempty"`
AssetProvidedByID *string `json:"AssetProvidedByID,omitempty"`
// Asset Serviced By
AssetServicedByID string `json:"AssetServicedByID,omitempty"`
AssetServicedByID *string `json:"AssetServicedByID,omitempty"`
// Company Product
CompanyProductID string `json:"CompanyProductID,omitempty"`
CompanyProductID *string `json:"CompanyProductID,omitempty"`
// Consequence Of Failure
ConsequenceOfFailure string `json:"ConsequenceOfFailure,omitempty"`
ConsequenceOfFailure *string `json:"ConsequenceOfFailure,omitempty"`
// Contact
ContactID string `json:"ContactID,omitempty"`
ContactID *string `json:"ContactID,omitempty"`
// Created By
CreatedByID string `json:"CreatedByID,omitempty"`
CreatedByID *string `json:"CreatedByID,omitempty"`
// Created Date
CreatedDate string `json:"CreatedDate,omitempty"`
CreatedDate *string `json:"CreatedDate,omitempty"`
// Current Amount
CurrentAmount float64 `json:"CurrentAmount,omitempty"`
CurrentAmount *float64 `json:"CurrentAmount,omitempty"`
// Current Lifecycle End Date
CurrentLifecycleEndDate string `json:"CurrentLifecycleEndDate,omitempty"`
CurrentLifecycleEndDate *string `json:"CurrentLifecycleEndDate,omitempty"`
// Current Monthly Recurring Revenue
CurrentMrr float64 `json:"CurrentMrr,omitempty"`
CurrentMrr *float64 `json:"CurrentMrr,omitempty"`
// Current Quantity
CurrentQuantity float64 `json:"CurrentQuantity,omitempty"`
CurrentQuantity *float64 `json:"CurrentQuantity,omitempty"`
// Description
Description string `json:"Description,omitempty"`
Description *string `json:"Description,omitempty"`
// Digital Asset Status
DigitalAssetStatus string `json:"DigitalAssetStatus,omitempty"`
DigitalAssetStatus *string `json:"DigitalAssetStatus,omitempty"`
// External Id
ExternalIdentifier string `json:"ExternalIdentifier,omitempty"`
ExternalIdentifier *string `json:"ExternalIdentifier,omitempty"`
// Has Lifecycle Management
HasLifecycleManagement bool `json:"HasLifecycleManagement,omitempty"`
HasLifecycleManagement *bool `json:"HasLifecycleManagement,omitempty"`
// Record Id
ID string `json:"ID,omitempty"`
// Install Date
InstallDate string `json:"InstallDate,omitempty"`
InstallDate *string `json:"InstallDate,omitempty"`
// Competitor Asset
IsCompetitorProduct bool `json:"IsCompetitorProduct,omitempty"`
IsCompetitorProduct *bool `json:"IsCompetitorProduct,omitempty"`
// Internal Asset
IsInternal bool `json:"IsInternal,omitempty"`
IsInternal *bool `json:"IsInternal,omitempty"`
// Last Modified By
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
// Last Modified Date
LastModifiedDate string `json:"LastModifiedDate,omitempty"`
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
// Location
LocationID string `json:"LocationID,omitempty"`
LocationID *string `json:"LocationID,omitempty"`
// MIME Type
MIMEType string `json:"MIMEType,omitempty"`
MIMEType *string `json:"MIMEType,omitempty"`
// Manufacture Date
ManufactureDate string `json:"ManufactureDate,omitempty"`
ManufactureDate *string `json:"ManufactureDate,omitempty"`
// Asset Name
Name string `json:"Name,omitempty"`
Name *string `json:"Name,omitempty"`
// Parent Asset
ParentID string `json:"ParentID,omitempty"`
ParentID *string `json:"ParentID,omitempty"`
// Price
Price float64 `json:"Price,omitempty"`
Price *float64 `json:"Price,omitempty"`
// Product
Product2ID string `json:"Product2ID,omitempty"`
Product2ID *string `json:"Product2ID,omitempty"`
// Product Code
ProductCode string `json:"ProductCode,omitempty"`
ProductCode *string `json:"ProductCode,omitempty"`
// Product Description
ProductDescription string `json:"ProductDescription,omitempty"`
ProductDescription *string `json:"ProductDescription,omitempty"`
// Product Family
ProductFamily string `json:"ProductFamily,omitempty"`
ProductFamily *string `json:"ProductFamily,omitempty"`
// Purchase Date
PurchaseDate string `json:"PurchaseDate,omitempty"`
PurchaseDate *string `json:"PurchaseDate,omitempty"`
// Quantity
Quantity float64 `json:"Quantity,omitempty"`
Quantity *float64 `json:"Quantity,omitempty"`
// Root Asset
RootAssetID string `json:"RootAssetID,omitempty"`
RootAssetID *string `json:"RootAssetID,omitempty"`
// Serial Number
SerialNumber string `json:"SerialNumber,omitempty"`
SerialNumber *string `json:"SerialNumber,omitempty"`
// Status
Status string `json:"Status,omitempty"`
Status *string `json:"Status,omitempty"`
// Status Reason
StatusReason string `json:"StatusReason,omitempty"`
StatusReason *string `json:"StatusReason,omitempty"`
// Product SKU
StockKeepingUnit string `json:"StockKeepingUnit,omitempty"`
StockKeepingUnit *string `json:"StockKeepingUnit,omitempty"`
// Tenant ID
TenantID string `json:"TenantID,omitempty"`
TenantID *string `json:"TenantID,omitempty"`
// Total Lifecycle Amount
TotalLifecycleAmount float64 `json:"TotalLifecycleAmount,omitempty"`
TotalLifecycleAmount *float64 `json:"TotalLifecycleAmount,omitempty"`
// Type
Type string `json:"Type,omitempty"`
Type *string `json:"Type,omitempty"`
// URL
URL string `json:"URL,omitempty"`
URL *string `json:"URL,omitempty"`
// Usage End Date
UsageEndDate string `json:"UsageEndDate,omitempty"`
UsageEndDate *string `json:"UsageEndDate,omitempty"`
}
// Validate validates this asset

View File

@ -23,130 +23,130 @@ import (
type Contact struct {
// The primary account ID of this contact
AccountID string `json:"AccountID,omitempty"`
AccountID *string `json:"AccountID,omitempty"`
// Assistant Name
AssistantName string `json:"AssistantName,omitempty"`
AssistantName *string `json:"AssistantName,omitempty"`
// Asst. Phone
AssistantPhone string `json:"AssistantPhone,omitempty"`
AssistantPhone *string `json:"AssistantPhone,omitempty"`
// Birthdate
BirthDate string `json:"BirthDate,omitempty"`
BirthDate *string `json:"BirthDate,omitempty"`
// Created By User ID
CreatedByID string `json:"CreatedByID,omitempty"`
CreatedByID *string `json:"CreatedByID,omitempty"`
// Created Date
CreatedDate string `json:"CreatedDate,omitempty"`
CreatedDate *string `json:"CreatedDate,omitempty"`
// crunchbase URL
CrunchbaseURL string `json:"CrunchbaseURL,omitempty"`
CrunchbaseURL *string `json:"CrunchbaseURL,omitempty"`
// Department
Department string `json:"Department,omitempty"`
Department *string `json:"Department,omitempty"`
// Description
Description string `json:"Description,omitempty"`
Description *string `json:"Description,omitempty"`
// Do Not Call?
DoNotCall bool `json:"DoNotCall,omitempty"`
DoNotCall *bool `json:"DoNotCall,omitempty"`
// Email address
Email string `json:"Email,omitempty"`
Email *string `json:"Email,omitempty"`
// Email Bounce Date
EmailBounceDate string `json:"EmailBounceDate,omitempty"`
EmailBounceDate *string `json:"EmailBounceDate,omitempty"`
// Email Bounce Reason
EmailBouncedReason string `json:"EmailBouncedReason,omitempty"`
EmailBouncedReason *string `json:"EmailBouncedReason,omitempty"`
// Facebook Page
Facebook string `json:"Facebook,omitempty"`
Facebook *string `json:"Facebook,omitempty"`
// Fax Number
Fax string `json:"Fax,omitempty"`
Fax *string `json:"Fax,omitempty"`
// First Name
FirstName string `json:"FirstName,omitempty"`
FirstName *string `json:"FirstName,omitempty"`
// Email Opt Out
HasOptedOutOfEmail bool `json:"HasOptedOutOfEmail,omitempty"`
HasOptedOutOfEmail *bool `json:"HasOptedOutOfEmail,omitempty"`
// Fax Opt Out
HasOptedOutOfFax bool `json:"HasOptedOutOfFax,omitempty"`
HasOptedOutOfFax *bool `json:"HasOptedOutOfFax,omitempty"`
// Home Phone
HomePhone string `json:"HomePhone,omitempty"`
HomePhone *string `json:"HomePhone,omitempty"`
// Record Id
ID string `json:"ID,omitempty"`
// Does this contact have bounced emails?
IsEmailBounced bool `json:"IsEmailBounced,omitempty"`
IsEmailBounced *bool `json:"IsEmailBounced,omitempty"`
// Last Modified By User ID
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
// Last Modified Date
LastModifiedDate string `json:"LastModifiedDate,omitempty"`
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
// Last Name
LastName string `json:"LastName,omitempty"`
LastName *string `json:"LastName,omitempty"`
// Lead Source
LeadSource string `json:"LeadSource,omitempty"`
LeadSource *string `json:"LeadSource,omitempty"`
// LinkedIn Page
LinkedIn string `json:"LinkedIn,omitempty"`
LinkedIn *string `json:"LinkedIn,omitempty"`
// mailing address
MailingAddress *Address `json:"MailingAddress,omitempty"`
// Mobile Phone
MobilePhone string `json:"MobilePhone,omitempty"`
MobilePhone *string `json:"MobilePhone,omitempty"`
// Full Name
Name string `json:"Name,omitempty"`
Name *string `json:"Name,omitempty"`
// number investments
NumberInvestments float64 `json:"NumberInvestments,omitempty"`
NumberInvestments *float64 `json:"NumberInvestments,omitempty"`
// other address
OtherAddress *Address `json:"OtherAddress,omitempty"`
// Other Phone
OtherPhone string `json:"OtherPhone,omitempty"`
OtherPhone *string `json:"OtherPhone,omitempty"`
// The User ID of the user who owns this Contact
OwnerID string `json:"OwnerID,omitempty"`
OwnerID *string `json:"OwnerID,omitempty"`
// Personal Email Address for this Contact
PersonalEmail string `json:"PersonalEmail,omitempty"`
PersonalEmail *string `json:"PersonalEmail,omitempty"`
// Phone Number
Phone string `json:"Phone,omitempty"`
Phone *string `json:"Phone,omitempty"`
// URL of a photograph of this User
PhotoURL string `json:"PhotoURL,omitempty"`
PhotoURL *string `json:"PhotoURL,omitempty"`
// Reports To
ReportsToID string `json:"ReportsToID,omitempty"`
ReportsToID *string `json:"ReportsToID,omitempty"`
// Salutation
Salutation string `json:"Salutation,omitempty"`
Salutation *string `json:"Salutation,omitempty"`
// Slug
Slug string `json:"Slug,omitempty"`
Slug *string `json:"Slug,omitempty"`
// Tenant Identifier
TenantID string `json:"TenantID,omitempty"`
TenantID *string `json:"TenantID,omitempty"`
// Contact Title
Title string `json:"Title,omitempty"`
Title *string `json:"Title,omitempty"`
// Twitter URL
Twitter string `json:"Twitter,omitempty"`
Twitter *string `json:"Twitter,omitempty"`
}
// Validate validates this contact

View File

@ -23,97 +23,97 @@ import (
type Contract struct {
// Account
AccountID string `json:"AccountID,omitempty"`
AccountID *string `json:"AccountID,omitempty"`
// Activated By
ActivatedByID string `json:"ActivatedByID,omitempty"`
ActivatedByID *string `json:"ActivatedByID,omitempty"`
// Activated Date
ActivatedDate string `json:"ActivatedDate,omitempty"`
ActivatedDate *string `json:"ActivatedDate,omitempty"`
// billing address
BillingAddress *Address `json:"BillingAddress,omitempty"`
// Billing Contact
BillingContactID string `json:"BillingContactID,omitempty"`
BillingContactID *string `json:"BillingContactID,omitempty"`
// Company Signed Date
CompanySignedDate string `json:"CompanySignedDate,omitempty"`
CompanySignedDate *string `json:"CompanySignedDate,omitempty"`
// Company Signed By
CompanySignedID string `json:"CompanySignedID,omitempty"`
CompanySignedID *string `json:"CompanySignedID,omitempty"`
// Contract Number
ContractNumber string `json:"ContractNumber,omitempty"`
ContractNumber *string `json:"ContractNumber,omitempty"`
// Contract Term (months)
ContractTerm float64 `json:"ContractTerm,omitempty"`
ContractTerm *float64 `json:"ContractTerm,omitempty"`
// Created By User ID
CreatedByID string `json:"CreatedByID,omitempty"`
CreatedByID *string `json:"CreatedByID,omitempty"`
// Created Date
CreatedDate string `json:"CreatedDate,omitempty"`
CreatedDate *string `json:"CreatedDate,omitempty"`
// Customer Signed Date
CustomerSignedDate string `json:"CustomerSignedDate,omitempty"`
CustomerSignedDate *string `json:"CustomerSignedDate,omitempty"`
// Customer Signed By
CustomerSignedID string `json:"CustomerSignedID,omitempty"`
CustomerSignedID *string `json:"CustomerSignedID,omitempty"`
// Customer Signed Title
CustomerSignedTitle string `json:"CustomerSignedTitle,omitempty"`
CustomerSignedTitle *string `json:"CustomerSignedTitle,omitempty"`
// End User
DefaultEndUserID string `json:"DefaultEndUserID,omitempty"`
DefaultEndUserID *string `json:"DefaultEndUserID,omitempty"`
// Description
Description string `json:"Description,omitempty"`
Description *string `json:"Description,omitempty"`
// Contract End Date
EndDate string `json:"EndDate,omitempty"`
EndDate *string `json:"EndDate,omitempty"`
// End User
EndUserID string `json:"EndUserID,omitempty"`
EndUserID *string `json:"EndUserID,omitempty"`
// Hourly Rate
HourlyRate float64 `json:"HourlyRate,omitempty"`
HourlyRate *float64 `json:"HourlyRate,omitempty"`
// Telnexus Record Id
// Record Id
ID string `json:"ID,omitempty"`
// Last Modified By User ID
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
// Last Modified Date
LastModifiedDate string `json:"LastModifiedDate,omitempty"`
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
// Contract Name
Name string `json:"Name,omitempty"`
Name *string `json:"Name,omitempty"`
// Payment Method
PaymentMethodID string `json:"PaymentMethodID,omitempty"`
PaymentMethodID *string `json:"PaymentMethodID,omitempty"`
// Payment Terms
PaymentTerms string `json:"PaymentTerms,omitempty"`
PaymentTerms *string `json:"PaymentTerms,omitempty"`
// Perpetual Agreement?
Perpetual bool `json:"Perpetual,omitempty"`
Perpetual *bool `json:"Perpetual,omitempty"`
// shipping address
ShippingAddress *Address `json:"ShippingAddress,omitempty"`
// Shipping Contact
ShippingContactID string `json:"ShippingContactID,omitempty"`
ShippingContactID *string `json:"ShippingContactID,omitempty"`
// Contract Start Date
StartDate string `json:"StartDate,omitempty"`
StartDate *string `json:"StartDate,omitempty"`
// Status
Status string `json:"Status,omitempty"`
Status *string `json:"Status,omitempty"`
// Tenant Identifier
TenantID string `json:"TenantID,omitempty"`
TenantID *string `json:"TenantID,omitempty"`
}
// Validate validates this contract

View File

@ -26,85 +26,85 @@ type Lead struct {
Address *Address `json:"Address,omitempty"`
// Company
Company string `json:"Company,omitempty"`
Company *string `json:"Company,omitempty"`
// Created By User ID
CreatedByID string `json:"CreatedByID,omitempty"`
CreatedByID *string `json:"CreatedByID,omitempty"`
// Created Date
CreatedDate string `json:"CreatedDate,omitempty"`
CreatedDate *string `json:"CreatedDate,omitempty"`
// Description
Description string `json:"Description,omitempty"`
Description *string `json:"Description,omitempty"`
// Email
Email string `json:"Email,omitempty"`
Email *string `json:"Email,omitempty"`
// First Name
FirstName string `json:"FirstName,omitempty"`
FirstName *string `json:"FirstName,omitempty"`
// Record Id
ID string `json:"ID,omitempty"`
// Last Modified By User ID
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
// Last Modified Date
LastModifiedDate string `json:"LastModifiedDate,omitempty"`
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
// Last Name
LastName string `json:"LastName,omitempty"`
LastName *string `json:"LastName,omitempty"`
// Mobile
MobilePhone string `json:"MobilePhone,omitempty"`
MobilePhone *string `json:"MobilePhone,omitempty"`
// Name
Name string `json:"Name,omitempty"`
Name *string `json:"Name,omitempty"`
// LeadBasic Owner
OwnerID string `json:"OwnerId,omitempty"`
OwnerID *string `json:"OwnerId,omitempty"`
// Partner Account
PartnerAccountID string `json:"PartnerAccountId,omitempty"`
PartnerAccountID *string `json:"PartnerAccountId,omitempty"`
// Phone
Phone string `json:"Phone,omitempty"`
Phone *string `json:"Phone,omitempty"`
// Product
ProductID string `json:"ProductID,omitempty"`
ProductID *string `json:"ProductID,omitempty"`
// referer_url
RefererURL string `json:"RefererURL,omitempty"`
RefererURL *string `json:"RefererURL,omitempty"`
// LeadBasic Status
Status string `json:"Status,omitempty"`
Status *string `json:"Status,omitempty"`
// Tenant Identifier
TenantID string `json:"TenantID,omitempty"`
TenantID *string `json:"TenantID,omitempty"`
// Title
Title string `json:"Title,omitempty"`
Title *string `json:"Title,omitempty"`
// Type
Type string `json:"Type,omitempty"`
Type *string `json:"Type,omitempty"`
// utm_campaign
UTMCampaign string `json:"UTMCampaign,omitempty"`
UTMCampaign *string `json:"UTMCampaign,omitempty"`
// utm_content
UTMContent string `json:"UTMContent,omitempty"`
UTMContent *string `json:"UTMContent,omitempty"`
// utm_medium
UTMMedium string `json:"UTMMedium,omitempty"`
UTMMedium *string `json:"UTMMedium,omitempty"`
// utm_source
UTMSource string `json:"UTMSource,omitempty"`
UTMSource *string `json:"UTMSource,omitempty"`
// utm_term
UTMTerm string `json:"UTMTerm,omitempty"`
UTMTerm *string `json:"UTMTerm,omitempty"`
// Website
Website string `json:"Website,omitempty"`
Website *string `json:"Website,omitempty"`
}
// Validate validates this lead

View File

@ -22,25 +22,25 @@ import (
type Address struct {
// City
City string `json:"City,omitempty"`
City *string `json:"City,omitempty"`
// Country full name
Country string `json:"Country,omitempty"`
Country *string `json:"Country,omitempty"`
// Country Code
CountryCode string `json:"CountryCode,omitempty"`
CountryCode *string `json:"CountryCode,omitempty"`
// Postal Code
PostalCode string `json:"PostalCode,omitempty"`
PostalCode *string `json:"PostalCode,omitempty"`
// State full name
State string `json:"State,omitempty"`
State *string `json:"State,omitempty"`
// State Code
StateCode string `json:"StateCode,omitempty"`
StateCode *string `json:"StateCode,omitempty"`
// Street number and name
Street string `json:"Street,omitempty"`
Street *string `json:"Street,omitempty"`
}
// Validate validates this address

View File

@ -28,7 +28,7 @@ type Attendee struct {
CreatedDate *string `json:"CreatedDate,omitempty"`
// event ID
EventID string `json:"EventID,omitempty"`
EventID *string `json:"EventID,omitempty"`
// ID
ID string `json:"ID,omitempty"`
@ -37,10 +37,10 @@ type Attendee struct {
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
// ticket ID
TicketID string `json:"TicketID,omitempty"`
TicketID *string `json:"TicketID,omitempty"`
// user ID
UserID string `json:"UserID,omitempty"`
UserID *string `json:"UserID,omitempty"`
}
// Validate validates this attendee

View File

@ -22,13 +22,13 @@ import (
type Certificate struct {
// certificate template
CertificateTemplate string `json:"CertificateTemplate,omitempty"`
CertificateTemplate *string `json:"CertificateTemplate,omitempty"`
// course ID
CourseID string `json:"CourseID,omitempty"`
CourseID *string `json:"CourseID,omitempty"`
// created by ID
CreatedByID string `json:"CreatedByID,omitempty"`
CreatedByID *string `json:"CreatedByID,omitempty"`
// created date
CreatedDate *string `json:"CreatedDate,omitempty"`
@ -40,13 +40,13 @@ type Certificate struct {
ID string `json:"ID,omitempty"`
// last modified by ID
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
// last modified date
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
// title
Title string `json:"Title,omitempty"`
Title *string `json:"Title,omitempty"`
}
// Validate validates this certificate

View File

@ -29,7 +29,7 @@ type ClerkUser struct {
BackupCodes []string `json:"backup_codes"`
// A custom date/time denoting _when_ the user signed up to the application, specified in RFC3339 format (e.g. `2012-10-20T07:15:20.902Z`).
CreatedAt string `json:"created_at,omitempty"`
CreatedAt *string `json:"created_at,omitempty"`
// Email addresses to add to the user.
// Must be unique across your instance.
@ -38,22 +38,22 @@ type ClerkUser struct {
// The ID of the user as used in your external systems or your previous authentication solution.
// Must be unique across your instance.
ExternalID string `json:"external_id,omitempty"`
ExternalID *string `json:"external_id,omitempty"`
// The first name to assign to the user
FirstName string `json:"first_name,omitempty"`
FirstName *string `json:"first_name,omitempty"`
// The last name to assign to the user
LastName string `json:"last_name,omitempty"`
LastName *string `json:"last_name,omitempty"`
// The plaintext password to give the user.
// Must be at least 8 characters long, and can not be in any list of hacked passwords.
Password string `json:"password,omitempty"`
Password *string `json:"password,omitempty"`
// In case you already have the password digests and not the passwords, you can use them for the newly created user via this property.
// The digests should be generated with one of the supported algorithms.
// The hashing algorithm can be specified using the `password_hasher` property.
PasswordDigest string `json:"password_digest,omitempty"`
PasswordDigest *string `json:"password_digest,omitempty"`
// The hashing algorithm that was used to generate the password digest.
// The algorithms we support at the moment are [bcrypt](https://en.wikipedia.org/wiki/Bcrypt), md5, pbkdf2_sha256, [pbkdf2_sha256_django](https://docs.djangoproject.com/en/4.0/topics/auth/passwords/), [scrypt_firebase](https://firebaseopensource.com/projects/firebase/scrypt/) and 2 [argon2](https://argon2.online/) variants, argon2i and argon2id.
@ -128,7 +128,7 @@ type ClerkUser struct {
//
// If you need support for any particular hashing algorithm, [please let us know](https://clerk.com/support).
// Enum: [bcrypt md5 pbkdf2_sha256 pbkdf2_sha256_django pbkdf2_sha1 scrypt_firebase argon2i argon2id]
PasswordHasher string `json:"password_hasher,omitempty"`
PasswordHasher *string `json:"password_hasher,omitempty"`
// Phone numbers to add to the user.
// Must be unique across your instance.
@ -156,7 +156,7 @@ type ClerkUser struct {
// * Period: 30 seconds
// * Code length: 6 digits
// * Algorithm: SHA1
TotpSecret string `json:"totp_secret,omitempty"`
TotpSecret *string `json:"totp_secret,omitempty"`
// Metadata saved on the user, that can be updated from both the Frontend and Backend APIs.
// Note: Since this data can be modified from the frontend, it is not guaranteed to be safe.
@ -164,7 +164,7 @@ type ClerkUser struct {
// The username to give to the user.
// It must be unique across your instance.
Username string `json:"username,omitempty"`
Username *string `json:"username,omitempty"`
// Web3 wallets to add to the user.
// Must be unique across your instance.
@ -239,7 +239,7 @@ func (m *ClerkUser) validatePasswordHasher(formats strfmt.Registry) error {
}
// value enum
if err := m.validatePasswordHasherEnum("password_hasher", "body", m.PasswordHasher); err != nil {
if err := m.validatePasswordHasherEnum("password_hasher", "body", *m.PasswordHasher); err != nil {
return err
}

View File

@ -22,55 +22,55 @@ import (
type Cluster struct {
// Created By
CreatedByID string `json:"CreatedByID,omitempty"`
CreatedByID *string `json:"CreatedByID,omitempty"`
// Created Date
CreatedDate string `json:"CreatedDate,omitempty"`
CreatedDate *string `json:"CreatedDate,omitempty"`
// Description
Description string `json:"Description,omitempty"`
Description *string `json:"Description,omitempty"`
// Environment
Environment string `json:"Environment,omitempty"`
Environment *string `json:"Environment,omitempty"`
// Gateway
Gateway string `json:"Gateway,omitempty"`
Gateway *string `json:"Gateway,omitempty"`
// Record Id
ID string `json:"ID,omitempty"`
// IP Address
IPAddress string `json:"IPAddress,omitempty"`
IPAddress *string `json:"IPAddress,omitempty"`
// Last Modified By
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
// Last Modified Date
LastModifiedDate string `json:"LastModifiedDate,omitempty"`
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
// Cluster Name
Name string `json:"Name,omitempty"`
Name *string `json:"Name,omitempty"`
// Owner
OwnerID string `json:"OwnerID,omitempty"`
OwnerID *string `json:"OwnerID,omitempty"`
// External Reference
Ref string `json:"Ref,omitempty"`
Ref *string `json:"Ref,omitempty"`
// Status
Status string `json:"Status,omitempty"`
Status *string `json:"Status,omitempty"`
// Subnet
Subnet string `json:"Subnet,omitempty"`
Subnet *string `json:"Subnet,omitempty"`
// The ID of the tenant who owns this Database
TenantID string `json:"TenantID,omitempty"`
TenantID *string `json:"TenantID,omitempty"`
// Type
Type string `json:"Type,omitempty"`
Type *string `json:"Type,omitempty"`
// Zone
Zone string `json:"Zone,omitempty"`
Zone *string `json:"Zone,omitempty"`
}
// Validate validates this cluster

View File

@ -22,25 +22,25 @@ import (
type Course struct {
// created by ID
CreatedByID string `json:"CreatedByID,omitempty"`
CreatedByID *string `json:"CreatedByID,omitempty"`
// created date
CreatedDate *string `json:"CreatedDate,omitempty"`
// description
Description string `json:"Description,omitempty"`
Description *string `json:"Description,omitempty"`
// fulldescription
Fulldescription string `json:"Fulldescription,omitempty"`
Fulldescription *string `json:"Fulldescription,omitempty"`
// ID
ID string `json:"ID,omitempty"`
// instructor ID
InstructorID string `json:"InstructorID,omitempty"`
InstructorID *string `json:"InstructorID,omitempty"`
// last modified by ID
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
// last modified date
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
@ -49,7 +49,7 @@ type Course struct {
Price float64 `json:"Price,omitempty"`
// title
Title string `json:"Title,omitempty"`
Title *string `json:"Title,omitempty"`
}
// Validate validates this course

View File

@ -22,10 +22,10 @@ import (
type CourseLesson struct {
// content
Content string `json:"Content,omitempty"`
Content *string `json:"Content,omitempty"`
// created by ID
CreatedByID string `json:"CreatedByID,omitempty"`
CreatedByID *string `json:"CreatedByID,omitempty"`
// created date
CreatedDate *string `json:"CreatedDate,omitempty"`
@ -34,7 +34,7 @@ type CourseLesson struct {
ID string `json:"ID,omitempty"`
// last modified by ID
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
// last modified date
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
@ -43,13 +43,13 @@ type CourseLesson struct {
Order int64 `json:"Order,omitempty"`
// section ID
SectionID string `json:"SectionID,omitempty"`
SectionID *string `json:"SectionID,omitempty"`
// title
Title string `json:"Title,omitempty"`
Title *string `json:"Title,omitempty"`
// video URL
VideoURL string `json:"VideoURL,omitempty"`
VideoURL *string `json:"VideoURL,omitempty"`
}
// Validate validates this course lesson

View File

@ -22,22 +22,22 @@ import (
type CourseSection struct {
// course ID
CourseID string `json:"CourseID,omitempty"`
CourseID *string `json:"CourseID,omitempty"`
// created by ID
CreatedByID string `json:"CreatedByID,omitempty"`
CreatedByID *string `json:"CreatedByID,omitempty"`
// created date
CreatedDate *string `json:"CreatedDate,omitempty"`
// description
Description string `json:"Description,omitempty"`
Description *string `json:"Description,omitempty"`
// ID
ID string `json:"ID,omitempty"`
// last modified by ID
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
// last modified date
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
@ -46,7 +46,7 @@ type CourseSection struct {
Order int64 `json:"Order,omitempty"`
// title
Title string `json:"Title,omitempty"`
Title *string `json:"Title,omitempty"`
}
// Validate validates this course section

View File

@ -22,40 +22,40 @@ import (
type Database struct {
// Is this database active?
Active bool `json:"Active,omitempty"`
Active *bool `json:"Active,omitempty"`
// The ID of the Cluster in which this database is deployed
ClusterID string `json:"ClusterID,omitempty"`
ClusterID *string `json:"ClusterID,omitempty"`
// Created By
CreatedByID string `json:"CreatedByID,omitempty"`
CreatedByID *string `json:"CreatedByID,omitempty"`
// Created Date
CreatedDate string `json:"CreatedDate,omitempty"`
CreatedDate *string `json:"CreatedDate,omitempty"`
// Database connection string
DSN string `json:"DSN,omitempty"`
DSN *string `json:"DSN,omitempty"`
// The name of the physical database in the cluster
DatabaseName string `json:"DatabaseName,omitempty"`
DatabaseName *string `json:"DatabaseName,omitempty"`
// Record Id
ID string `json:"ID,omitempty"`
// Last Modified By
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
// Last Modifed Date
LastModifiedDate string `json:"LastModifiedDate,omitempty"`
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
// The current status of this Tenant
Status string `json:"Status,omitempty"`
Status *string `json:"Status,omitempty"`
// The ID of the tenant who owns this Database
TenantID string `json:"TenantID,omitempty"`
TenantID *string `json:"TenantID,omitempty"`
// The type of Database (mysql, etc)
Type string `json:"Type,omitempty"`
Type *string `json:"Type,omitempty"`
}
// Validate validates this database

View File

@ -25,28 +25,28 @@ type Enrollment struct {
Completed int64 `json:"Completed,omitempty"`
// course ID
CourseID string `json:"CourseID,omitempty"`
CourseID *string `json:"CourseID,omitempty"`
// created by ID
CreatedByID string `json:"CreatedByID,omitempty"`
CreatedByID *string `json:"CreatedByID,omitempty"`
// created date
CreatedDate *string `json:"CreatedDate,omitempty"`
// enrollment date
EnrollmentDate string `json:"EnrollmentDate,omitempty"`
EnrollmentDate *string `json:"EnrollmentDate,omitempty"`
// ID
ID string `json:"ID,omitempty"`
// last modified by ID
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
// last modified date
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
// user ID
UserID string `json:"UserID,omitempty"`
UserID *string `json:"UserID,omitempty"`
}
// Validate validates this enrollment

View File

@ -31,22 +31,22 @@ type Event struct {
Description *string `json:"Description,omitempty"`
// end date
EndDate string `json:"EndDate,omitempty"`
EndDate *string `json:"EndDate,omitempty"`
// ID
ID string `json:"ID,omitempty"`
// location
Location string `json:"Location,omitempty"`
Location *string `json:"Location,omitempty"`
// organizeruser ID
OrganizeruserID string `json:"OrganizeruserID,omitempty"`
OrganizeruserID *string `json:"OrganizeruserID,omitempty"`
// start date
StartDate string `json:"StartDate,omitempty"`
StartDate *string `json:"StartDate,omitempty"`
// title
Title string `json:"Title,omitempty"`
Title *string `json:"Title,omitempty"`
// up datedat
UpDatedat *string `json:"UpDatedat,omitempty"`

View File

@ -31,7 +31,7 @@ type EventCategory struct {
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
// name
Name string `json:"Name,omitempty"`
Name *string `json:"Name,omitempty"`
}
// Validate validates this event category

View File

@ -25,10 +25,10 @@ type EventCategoryAssignment struct {
Createdat *string `json:"Createdat,omitempty"`
// event category ID
EventCategoryID string `json:"EventCategoryID,omitempty"`
EventCategoryID *string `json:"EventCategoryID,omitempty"`
// event ID
EventID string `json:"EventID,omitempty"`
EventID *string `json:"EventID,omitempty"`
// ID
ID string `json:"ID,omitempty"`

View File

@ -22,16 +22,16 @@ import (
type Favorite struct {
// created by ID
CreatedByID string `json:"CreatedByID,omitempty"`
CreatedByID *string `json:"CreatedByID,omitempty"`
// created date
CreatedDate *string `json:"CreatedDate,omitempty"`
// description
Description string `json:"Description,omitempty"`
Description *string `json:"Description,omitempty"`
// favorite ID
FavoriteID string `json:"FavoriteID,omitempty"`
FavoriteID *string `json:"FavoriteID,omitempty"`
// favoritetype
Favoritetype *string `json:"Favoritetype,omitempty"`
@ -40,22 +40,22 @@ type Favorite struct {
ID string `json:"ID,omitempty"`
// last modified by ID
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
// last modified date
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
// name
Name string `json:"Name,omitempty"`
Name *string `json:"Name,omitempty"`
// path
Path string `json:"Path,omitempty"`
Path *string `json:"Path,omitempty"`
// tenant ID
TenantID string `json:"TenantID,omitempty"`
TenantID *string `json:"TenantID,omitempty"`
// user ID
UserID string `json:"UserID,omitempty"`
UserID *string `json:"UserID,omitempty"`
}
// Validate validates this favorite

View File

@ -25,40 +25,40 @@ type Invoice struct {
Amount float64 `json:"Amount,omitempty"`
// course ID
CourseID string `json:"CourseID,omitempty"`
CourseID *string `json:"CourseID,omitempty"`
// created by ID
CreatedByID string `json:"CreatedByID,omitempty"`
CreatedByID *string `json:"CreatedByID,omitempty"`
// created date
CreatedDate *string `json:"CreatedDate,omitempty"`
// currency
Currency string `json:"Currency,omitempty"`
Currency *string `json:"Currency,omitempty"`
// due date
DueDate string `json:"DueDate,omitempty"`
DueDate *string `json:"DueDate,omitempty"`
// ID
ID string `json:"ID,omitempty"`
// invoicenumber
Invoicenumber string `json:"Invoicenumber,omitempty"`
Invoicenumber *string `json:"Invoicenumber,omitempty"`
// last modified by ID
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
// last modified date
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
// status
Status string `json:"Status,omitempty"`
Status *string `json:"Status,omitempty"`
// transaction ID
TransactionID string `json:"TransactionID,omitempty"`
TransactionID *string `json:"TransactionID,omitempty"`
// user ID
UserID string `json:"UserID,omitempty"`
UserID *string `json:"UserID,omitempty"`
}
// Validate validates this invoice

View File

@ -22,16 +22,16 @@ import (
type IssuedCertificate struct {
// certificate ID
CertificateID string `json:"CertificateID,omitempty"`
CertificateID *string `json:"CertificateID,omitempty"`
// created by ID
CreatedByID string `json:"CreatedByID,omitempty"`
CreatedByID *string `json:"CreatedByID,omitempty"`
// created date
CreatedDate *string `json:"CreatedDate,omitempty"`
// enrollment ID
EnrollmentID string `json:"EnrollmentID,omitempty"`
EnrollmentID *string `json:"EnrollmentID,omitempty"`
// expiration date
ExpirationDate *string `json:"ExpirationDate,omitempty"`
@ -40,19 +40,19 @@ type IssuedCertificate struct {
ID string `json:"ID,omitempty"`
// issue date
IssueDate string `json:"IssueDate,omitempty"`
IssueDate *string `json:"IssueDate,omitempty"`
// last modified by ID
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
// last modified date
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
// user ID
UserID string `json:"UserID,omitempty"`
UserID *string `json:"UserID,omitempty"`
// verification code
VerificationCode string `json:"VerificationCode,omitempty"`
VerificationCode *string `json:"VerificationCode,omitempty"`
}
// Validate validates this issued certificate

View File

@ -28,28 +28,28 @@ type LessonProgress struct {
Completedat *string `json:"Completedat,omitempty"`
// created by ID
CreatedByID string `json:"CreatedByID,omitempty"`
CreatedByID *string `json:"CreatedByID,omitempty"`
// created date
CreatedDate *string `json:"CreatedDate,omitempty"`
// enrollment ID
EnrollmentID string `json:"EnrollmentID,omitempty"`
EnrollmentID *string `json:"EnrollmentID,omitempty"`
// ID
ID string `json:"ID,omitempty"`
// last modified by ID
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
// last modified date
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
// lesson ID
LessonID string `json:"LessonID,omitempty"`
LessonID *string `json:"LessonID,omitempty"`
// user ID
UserID string `json:"UserID,omitempty"`
UserID *string `json:"UserID,omitempty"`
}
// Validate validates this lesson progress

View File

@ -22,10 +22,10 @@ import (
type Message struct {
// message
Message string `json:"Message,omitempty"`
Message *string `json:"Message,omitempty"`
// ref
Ref string `json:"Ref,omitempty"`
Ref *string `json:"Ref,omitempty"`
// status
Status int64 `json:"Status,omitempty"`

View File

@ -28,25 +28,25 @@ type Order struct {
Createdat *string `json:"Createdat,omitempty"`
// event ID
EventID string `json:"EventID,omitempty"`
EventID *string `json:"EventID,omitempty"`
// ID
ID string `json:"ID,omitempty"`
// order status
OrderStatus string `json:"OrderStatus,omitempty"`
OrderStatus *string `json:"OrderStatus,omitempty"`
// payment method
PaymentMethod *string `json:"PaymentMethod,omitempty"`
// ticket ID
TicketID string `json:"TicketID,omitempty"`
TicketID *string `json:"TicketID,omitempty"`
// up datedat
UpDatedat *string `json:"UpDatedat,omitempty"`
// user ID
UserID string `json:"UserID,omitempty"`
UserID *string `json:"UserID,omitempty"`
}
// Validate validates this order

View File

@ -22,16 +22,16 @@ import (
type PaymentMethod struct {
// card holder name
CardHolderName string `json:"CardHolderName,omitempty"`
CardHolderName *string `json:"CardHolderName,omitempty"`
// card number
CardNumber string `json:"CardNumber,omitempty"`
CardNumber *string `json:"CardNumber,omitempty"`
// card type
CardType string `json:"CardType,omitempty"`
CardType *string `json:"CardType,omitempty"`
// created by ID
CreatedByID string `json:"CreatedByID,omitempty"`
CreatedByID *string `json:"CreatedByID,omitempty"`
// created date
CreatedDate *string `json:"CreatedDate,omitempty"`
@ -49,13 +49,13 @@ type PaymentMethod struct {
Isdefault int64 `json:"Isdefault,omitempty"`
// last modified by ID
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
// last modified date
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
// user ID
UserID string `json:"UserID,omitempty"`
UserID *string `json:"UserID,omitempty"`
}
// Validate validates this payment method

View File

@ -22,34 +22,34 @@ import (
type ResearchProject struct {
// account ID
AccountID string `json:"AccountID,omitempty"`
AccountID *string `json:"AccountID,omitempty"`
// created by ID
CreatedByID string `json:"CreatedByID,omitempty"`
CreatedByID *string `json:"CreatedByID,omitempty"`
// created date
CreatedDate *string `json:"CreatedDate,omitempty"`
// description
Description string `json:"Description,omitempty"`
Description *string `json:"Description,omitempty"`
// ID
ID string `json:"ID,omitempty"`
// last modified by ID
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
// last modified date
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
// name
Name string `json:"Name,omitempty"`
Name *string `json:"Name,omitempty"`
// tenant ID
TenantID string `json:"TenantID,omitempty"`
TenantID *string `json:"TenantID,omitempty"`
// user ID
UserID string `json:"UserID,omitempty"`
UserID *string `json:"UserID,omitempty"`
}
// Validate validates this research project

View File

@ -22,10 +22,10 @@ import (
type ResearchProjectCompany struct {
// account ID
AccountID string `json:"AccountID,omitempty"`
AccountID *string `json:"AccountID,omitempty"`
// created by ID
CreatedByID string `json:"CreatedByID,omitempty"`
CreatedByID *string `json:"CreatedByID,omitempty"`
// created date
CreatedDate *string `json:"CreatedDate,omitempty"`
@ -34,16 +34,16 @@ type ResearchProjectCompany struct {
ID string `json:"ID,omitempty"`
// last modified by ID
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
// last modified date
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
// research project ID
ResearchProjectID string `json:"ResearchProjectID,omitempty"`
ResearchProjectID *string `json:"ResearchProjectID,omitempty"`
// tenant ID
TenantID string `json:"TenantID,omitempty"`
TenantID *string `json:"TenantID,omitempty"`
}
// Validate validates this research project company

View File

@ -22,7 +22,7 @@ import (
type ResearchProjectTopic struct {
// created by ID
CreatedByID string `json:"CreatedByID,omitempty"`
CreatedByID *string `json:"CreatedByID,omitempty"`
// created date
CreatedDate *string `json:"CreatedDate,omitempty"`
@ -31,19 +31,19 @@ type ResearchProjectTopic struct {
ID string `json:"ID,omitempty"`
// last modified by ID
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
// last modified date
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
// research project ID
ResearchProjectID string `json:"ResearchProjectID,omitempty"`
ResearchProjectID *string `json:"ResearchProjectID,omitempty"`
// tenant ID
TenantID string `json:"TenantID,omitempty"`
TenantID *string `json:"TenantID,omitempty"`
// topic ID
TopicID string `json:"TopicID,omitempty"`
TopicID *string `json:"TopicID,omitempty"`
}
// Validate validates this research project topic

View File

@ -22,31 +22,31 @@ import (
type Role struct {
// The corresponding Auth0 Role
Auth0RoleID string `json:"Auth0RoleID,omitempty"`
Auth0RoleID *string `json:"Auth0RoleID,omitempty"`
// Created By
CreatedByID string `json:"CreatedByID,omitempty"`
CreatedByID *string `json:"CreatedByID,omitempty"`
// Created Date
CreatedDate string `json:"CreatedDate,omitempty"`
CreatedDate *string `json:"CreatedDate,omitempty"`
// Role Description
Description string `json:"Description,omitempty"`
Description *string `json:"Description,omitempty"`
// Record Id
ID string `json:"ID,omitempty"`
// Last Modified By
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
// Last Modifed Date
LastModifiedDate string `json:"LastModifiedDate,omitempty"`
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
// The name of this role
RoleName string `json:"RoleName,omitempty"`
RoleName *string `json:"RoleName,omitempty"`
// The ID of the Tenant that owns this Role
TenantID string `json:"TenantID,omitempty"`
TenantID *string `json:"TenantID,omitempty"`
}
// Validate validates this role

View File

@ -22,16 +22,16 @@ import (
type Template struct {
// Company
CompanyID string `json:"CompanyID,omitempty"`
CompanyID *string `json:"CompanyID,omitempty"`
// created by ID
CreatedByID string `json:"CreatedByID,omitempty"`
CreatedByID *string `json:"CreatedByID,omitempty"`
// created date
CreatedDate string `json:"CreatedDate,omitempty"`
CreatedDate *string `json:"CreatedDate,omitempty"`
// Description
Description string `json:"Description,omitempty"`
Description *string `json:"Description,omitempty"`
// HTML Body
// Format: byte
@ -41,34 +41,34 @@ type Template struct {
ID string `json:"ID,omitempty"`
// Active?
IsActive bool `json:"IsActive,omitempty"`
IsActive *bool `json:"IsActive,omitempty"`
// Master Template?
IsMaster bool `json:"IsMaster,omitempty"`
IsMaster *bool `json:"IsMaster,omitempty"`
// last modified by ID
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
// last modified date
LastModifiedDate string `json:"LastModifiedDate,omitempty"`
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
// Template Name
Name string `json:"Name,omitempty"`
Name *string `json:"Name,omitempty"`
// Object
ObjectType string `json:"ObjectType,omitempty"`
ObjectType *string `json:"ObjectType,omitempty"`
// Record Type Name
RecordTypeName string `json:"RecordTypeName,omitempty"`
RecordTypeName *string `json:"RecordTypeName,omitempty"`
// Tenant that owns this object instance
TenantID string `json:"TenantID,omitempty"`
TenantID *string `json:"TenantID,omitempty"`
// Type
Type string `json:"Type,omitempty"`
Type *string `json:"Type,omitempty"`
// URL
URL string `json:"URL,omitempty"`
URL *string `json:"URL,omitempty"`
}
// Validate validates this template

View File

@ -24,16 +24,16 @@ import (
type Tenant struct {
// The Account that owns this Tenant
AccountID string `json:"AccountID,omitempty"`
AccountID *string `json:"AccountID,omitempty"`
// Is this Tenant currently active?
Active bool `json:"Active,omitempty"`
Active *bool `json:"Active,omitempty"`
// Created By
CreatedByID string `json:"CreatedByID,omitempty"`
CreatedByID *string `json:"CreatedByID,omitempty"`
// Created Date
CreatedDate string `json:"CreatedDate,omitempty"`
CreatedDate *string `json:"CreatedDate,omitempty"`
// databases
Databases []*Database `json:"Databases"`
@ -42,28 +42,28 @@ type Tenant struct {
ID string `json:"ID,omitempty"`
// Last Modified By
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
// Last Modifed Date
LastModifiedDate string `json:"LastModifiedDate,omitempty"`
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
// roles
Roles []*Role `json:"Roles"`
// The current status of this Tenant
Status string `json:"Status,omitempty"`
Status *string `json:"Status,omitempty"`
// Name of the Tenant Resource
TenantName string `json:"TenantName,omitempty"`
TenantName *string `json:"TenantName,omitempty"`
// tenant users
TenantUsers []*TenantUser `json:"TenantUsers"`
// The type of Tenant
Type string `json:"Type,omitempty"`
Type *string `json:"Type,omitempty"`
// The version number of the Tenant Onboarding system used to create this tenant
Version string `json:"Version,omitempty"`
Version *string `json:"Version,omitempty"`
}
// Validate validates this tenant

View File

@ -22,52 +22,52 @@ import (
type TenantUser struct {
// The makeTenantUser access level for this User
AccessLevel string `json:"AccessLevel,omitempty"`
AccessLevel *string `json:"AccessLevel,omitempty"`
// Account ID
AccountID string `json:"AccountID,omitempty"`
AccountID *string `json:"AccountID,omitempty"`
// Auth0 User ID
Auth0UserID string `json:"Auth0UserID,omitempty"`
Auth0UserID *string `json:"Auth0UserID,omitempty"`
// Account Name
CompanyName string `json:"CompanyName,omitempty"`
CompanyName *string `json:"CompanyName,omitempty"`
// Contact ID
ContactID string `json:"ContactID,omitempty"`
ContactID *string `json:"ContactID,omitempty"`
// Account
TaxnexusAccount string `json:"TaxnexusAccount,omitempty"`
TaxnexusAccount *string `json:"TaxnexusAccount,omitempty"`
// Tenant active?
TenantActive bool `json:"TenantActive,omitempty"`
TenantActive *bool `json:"TenantActive,omitempty"`
// The Tenant ID
TenantID string `json:"TenantID,omitempty"`
TenantID *string `json:"TenantID,omitempty"`
// Tenant Name
TenantName string `json:"TenantName,omitempty"`
TenantName *string `json:"TenantName,omitempty"`
// Tenant Status
TenantStatus string `json:"TenantStatus,omitempty"`
TenantStatus *string `json:"TenantStatus,omitempty"`
// Tenant type
TenantType string `json:"TenantType,omitempty"`
TenantType *string `json:"TenantType,omitempty"`
// Tenant Version
TenantVersion string `json:"TenantVersion,omitempty"`
TenantVersion *string `json:"TenantVersion,omitempty"`
// User Email Address
UserEmail string `json:"UserEmail,omitempty"`
UserEmail *string `json:"UserEmail,omitempty"`
// User Full Name
UserFullName string `json:"UserFullName,omitempty"`
UserFullName *string `json:"UserFullName,omitempty"`
// The User ID
UserID string `json:"UserID,omitempty"`
UserID *string `json:"UserID,omitempty"`
// Username
Username string `json:"Username,omitempty"`
Username *string `json:"Username,omitempty"`
}
// Validate validates this tenant user

View File

@ -25,7 +25,7 @@ type Ticket struct {
CreatedDate *string `json:"CreatedDate,omitempty"`
// event ID
EventID string `json:"EventID,omitempty"`
EventID *string `json:"EventID,omitempty"`
// ID
ID string `json:"ID,omitempty"`
@ -40,7 +40,7 @@ type Ticket struct {
Quantity int64 `json:"Quantity,omitempty"`
// tickettype
Tickettype string `json:"Tickettype,omitempty"`
Tickettype *string `json:"Tickettype,omitempty"`
}
// Validate validates this ticket

View File

@ -25,40 +25,40 @@ type Transaction struct {
Amount float64 `json:"Amount,omitempty"`
// course ID
CourseID string `json:"CourseID,omitempty"`
CourseID *string `json:"CourseID,omitempty"`
// created by ID
CreatedByID string `json:"CreatedByID,omitempty"`
CreatedByID *string `json:"CreatedByID,omitempty"`
// created date
CreatedDate *string `json:"CreatedDate,omitempty"`
// currency
Currency string `json:"Currency,omitempty"`
Currency *string `json:"Currency,omitempty"`
// enrollment ID
EnrollmentID string `json:"EnrollmentID,omitempty"`
EnrollmentID *string `json:"EnrollmentID,omitempty"`
// ID
ID string `json:"ID,omitempty"`
// last modified by ID
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
// last modified date
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
// payment method ID
PaymentMethodID string `json:"PaymentMethodID,omitempty"`
PaymentMethodID *string `json:"PaymentMethodID,omitempty"`
// status
Status *string `json:"Status,omitempty"`
// transaction date
TransactionDate string `json:"TransactionDate,omitempty"`
TransactionDate *string `json:"TransactionDate,omitempty"`
// user ID
UserID string `json:"UserID,omitempty"`
UserID *string `json:"UserID,omitempty"`
}
// Validate validates this transaction

View File

@ -24,196 +24,184 @@ import (
type User struct {
// API Gateway URL
APIGatewayURL string `json:"APIGatewayURL,omitempty"`
APIGatewayURL *string `json:"APIGatewayURL,omitempty"`
// API Gateway User
APIGatewayUser string `json:"APIGatewayUser,omitempty"`
APIGatewayUser *string `json:"APIGatewayUser,omitempty"`
// API Key
APIKey string `json:"APIKey,omitempty"`
APIKey *string `json:"APIKey,omitempty"`
// About Me
AboutMe string `json:"AboutMe,omitempty"`
AboutMe *string `json:"AboutMe,omitempty"`
// Account ID
AccountID string `json:"AccountID,omitempty"`
AccountID *string `json:"AccountID,omitempty"`
// address
Address *Address `json:"Address,omitempty"`
// Alias
Alias string `json:"Alias,omitempty"`
Alias *string `json:"Alias,omitempty"`
// Auth0 User Id
Auth0UserID string `json:"Auth0UserID,omitempty"`
Auth0UserID *string `json:"Auth0UserID,omitempty"`
// Nickname
CommunityNickname string `json:"CommunityNickname,omitempty"`
CommunityNickname *string `json:"CommunityNickname,omitempty"`
// Company Name
CompanyName string `json:"CompanyName,omitempty"`
CompanyName *string `json:"CompanyName,omitempty"`
// Contact
ContactID string `json:"ContactID,omitempty"`
ContactID *string `json:"ContactID,omitempty"`
// Created User ID
CreatedByID string `json:"CreatedByID,omitempty"`
CreatedByID *string `json:"CreatedByID,omitempty"`
// Date Created
CreatedDate string `json:"CreatedDate,omitempty"`
CreatedDate *string `json:"CreatedDate,omitempty"`
// Delegated Approver
DelegatedApproverID string `json:"DelegatedApproverID,omitempty"`
DelegatedApproverID *string `json:"DelegatedApproverID,omitempty"`
// Department
Department string `json:"Department,omitempty"`
Department *string `json:"Department,omitempty"`
// Division
Division string `json:"Division,omitempty"`
Division *string `json:"Division,omitempty"`
// Email address
Email string `json:"Email,omitempty"`
Email *string `json:"Email,omitempty"`
// Employee Number
EmployeeNumber string `json:"EmployeeNumber,omitempty"`
EmployeeNumber *string `json:"EmployeeNumber,omitempty"`
// Time day ends
EndOfDay string `json:"EndOfDay,omitempty"`
EndOfDay *string `json:"EndOfDay,omitempty"`
// Environment
Environment string `json:"Environment,omitempty"`
Environment *string `json:"Environment,omitempty"`
// Extension
Extension string `json:"Extension,omitempty"`
// Fabric API Key
FabricAPIKey string `json:"FabricAPIKey,omitempty"`
Extension *string `json:"Extension,omitempty"`
// Fax
Fax string `json:"Fax,omitempty"`
Fax *string `json:"Fax,omitempty"`
// The first name
FirstName string `json:"FirstName,omitempty"`
FirstName *string `json:"FirstName,omitempty"`
// Allow Forecasting
ForecastEnabled bool `json:"ForecastEnabled,omitempty"`
ForecastEnabled *bool `json:"ForecastEnabled,omitempty"`
// Full Photo URL
FullPhotoURL string `json:"FullPhotoURL,omitempty"`
FullPhotoURL *string `json:"FullPhotoURL,omitempty"`
// GitHub
GitHub string `json:"GitHub,omitempty"`
GitHub *string `json:"GitHub,omitempty"`
// Record ID
ID string `json:"ID,omitempty"`
// Active
IsActive bool `json:"IsActive,omitempty"`
IsActive *bool `json:"IsActive,omitempty"`
// Is the user enabled for Communities?
IsPortalEnabled bool `json:"IsPortalEnabled,omitempty"`
// Has Profile Photo
IsProphilePhotoActive bool `json:"IsProphilePhotoActive,omitempty"`
IsPortalEnabled *bool `json:"IsPortalEnabled,omitempty"`
// is system controlled
IsSystemControlled bool `json:"IsSystemControlled,omitempty"`
IsSystemControlled *bool `json:"IsSystemControlled,omitempty"`
// IP address of last login
LastIP string `json:"LastIP,omitempty"`
LastIP *string `json:"LastIP,omitempty"`
// Last login time
LastLogin string `json:"LastLogin,omitempty"`
LastLogin *string `json:"LastLogin,omitempty"`
// Last Modified User ID
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
// Last Modified Date
LastModifiedDate string `json:"LastModifiedDate,omitempty"`
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
// The Last Name
LastName string `json:"LastName,omitempty"`
LastName *string `json:"LastName,omitempty"`
// LinkedIn
LinkedIn string `json:"LinkedIn,omitempty"`
LinkedIn *string `json:"LinkedIn,omitempty"`
// Number of times user has logged in
LoginCount int64 `json:"LoginCount,omitempty"`
LoginCount *int64 `json:"LoginCount,omitempty"`
// Manager
ManagerID string `json:"ManagerID,omitempty"`
ManagerID *string `json:"ManagerID,omitempty"`
// Mobile
MobilePhone string `json:"MobilePhone,omitempty"`
MobilePhone *string `json:"MobilePhone,omitempty"`
// Name
Name string `json:"Name,omitempty"`
Name *string `json:"Name,omitempty"`
// Out of office message
OutOfOfficeMessage string `json:"OutOfOfficeMessage,omitempty"`
OutOfOfficeMessage *string `json:"OutOfOfficeMessage,omitempty"`
// Phone
Phone string `json:"Phone,omitempty"`
Phone *string `json:"Phone,omitempty"`
// Portal Role Level
PortalRole string `json:"PortalRole,omitempty"`
PortalRole *string `json:"PortalRole,omitempty"`
// Profile
ProfileID string `json:"ProfileID,omitempty"`
ProfileID *string `json:"ProfileID,omitempty"`
// Info Emails
ReceivesAdminEmails bool `json:"ReceivesAdminEmails,omitempty"`
// Admin Info Emails
ReceivesAdminInfoEmails bool `json:"ReceivesAdminInfoEmails,omitempty"`
ReceivesAdminEmails *bool `json:"ReceivesAdminEmails,omitempty"`
// Email Sender Address
SenderEmail string `json:"SenderEmail,omitempty"`
SenderEmail *string `json:"SenderEmail,omitempty"`
// Email Sender Name
SenderName string `json:"SenderName,omitempty"`
// Email Signature
Signature string `json:"Signature,omitempty"`
SenderName *string `json:"SenderName,omitempty"`
// Small Photo URL
SmallPhotoURL string `json:"SmallPhotoURL,omitempty"`
SmallPhotoURL *string `json:"SmallPhotoURL,omitempty"`
// The time day starts
StartOfDay string `json:"StartOfDay,omitempty"`
StartOfDay *string `json:"StartOfDay,omitempty"`
// Onboarding Status
Status string `json:"Status,omitempty"`
Status *string `json:"Status,omitempty"`
// Account
TaxnexusAccount string `json:"TaxnexusAccount,omitempty"`
TaxnexusAccount *string `json:"TaxnexusAccount,omitempty"`
// Tenant ID associated with this user
TenantID string `json:"TenantID,omitempty"`
TenantID *string `json:"TenantID,omitempty"`
// tenant users
TenantUsers []*TenantUser `json:"TenantUsers"`
// Time Zone
TimeZone string `json:"TimeZone,omitempty"`
TimeZone *string `json:"TimeZone,omitempty"`
// Title
Title string `json:"Title,omitempty"`
Title *string `json:"Title,omitempty"`
// Twitter
Twitter string `json:"Twitter,omitempty"`
Twitter *string `json:"Twitter,omitempty"`
// Role
UserRoleID string `json:"UserRoleID,omitempty"`
UserRoleID *string `json:"UserRoleID,omitempty"`
// user roles
UserRoles []*UserRole `json:"UserRoles"`
// User Type
UserType string `json:"UserType,omitempty"`
UserType *string `json:"UserType,omitempty"`
// Username
Username string `json:"Username,omitempty"`
Username *string `json:"Username,omitempty"`
}
// Validate validates this user

View File

@ -22,43 +22,43 @@ import (
type UserRole struct {
// Account Id
AccountID string `json:"AccountID,omitempty"`
AccountID *string `json:"AccountID,omitempty"`
// Linked role ID
Auth0RoleID string `json:"Auth0RoleID,omitempty"`
Auth0RoleID *string `json:"Auth0RoleID,omitempty"`
// Auth0 User ID
Auth0UserID string `json:"Auth0UserID,omitempty"`
Auth0UserID *string `json:"Auth0UserID,omitempty"`
// Company Name
CompanyName string `json:"CompanyName,omitempty"`
CompanyName *string `json:"CompanyName,omitempty"`
// Contact ID
ContactID string `json:"ContactID,omitempty"`
ContactID *string `json:"ContactID,omitempty"`
// Role description
RoleDescription string `json:"RoleDescription,omitempty"`
RoleDescription *string `json:"RoleDescription,omitempty"`
// The Role ID
RoleID string `json:"RoleID,omitempty"`
RoleID *string `json:"RoleID,omitempty"`
// Role Name
RoleName string `json:"RoleName,omitempty"`
RoleName *string `json:"RoleName,omitempty"`
// Account Number
TaxnexusAccount string `json:"TaxnexusAccount,omitempty"`
TaxnexusAccount *string `json:"TaxnexusAccount,omitempty"`
// User Email Address
UserEmail string `json:"UserEmail,omitempty"`
UserEmail *string `json:"UserEmail,omitempty"`
// User Full Name
UserFullName string `json:"UserFullName,omitempty"`
UserFullName *string `json:"UserFullName,omitempty"`
// The User ID
UserID string `json:"UserID,omitempty"`
UserID *string `json:"UserID,omitempty"`
// Username
Username string `json:"Username,omitempty"`
Username *string `json:"Username,omitempty"`
}
// Validate validates this user role

View File

@ -25,10 +25,10 @@ type WebhookClerkResponse struct {
Data interface{} `json:"data,omitempty"`
// object
Object string `json:"object,omitempty"`
Object *string `json:"object,omitempty"`
// Clerk Name
Type string `json:"type,omitempty"`
Type *string `json:"type,omitempty"`
}
// Validate validates this webhook clerk response

View File

@ -22,25 +22,25 @@ import (
type Address struct {
// City
City string `json:"City,omitempty"`
City *string `json:"City,omitempty"`
// Country full name
Country string `json:"Country,omitempty"`
Country *string `json:"Country,omitempty"`
// Country Code
CountryCode string `json:"CountryCode,omitempty"`
CountryCode *string `json:"CountryCode,omitempty"`
// Postal Code
PostalCode string `json:"PostalCode,omitempty"`
PostalCode *string `json:"PostalCode,omitempty"`
// State full name
State string `json:"State,omitempty"`
State *string `json:"State,omitempty"`
// State Code
StateCode string `json:"StateCode,omitempty"`
StateCode *string `json:"StateCode,omitempty"`
// Street number and name
Street string `json:"Street,omitempty"`
Street *string `json:"Street,omitempty"`
}
// Validate validates this address

View File

@ -24,61 +24,61 @@ import (
type CompanyProduct struct {
// ID of the Company that owns this Product
AccountID string `json:"AccountID,omitempty"`
AccountID *string `json:"AccountID,omitempty"`
// Created By User ID
CreatedByID string `json:"CreatedByID,omitempty"`
CreatedByID *string `json:"CreatedByID,omitempty"`
// Created Date
CreatedDate string `json:"CreatedDate,omitempty"`
CreatedDate *string `json:"CreatedDate,omitempty"`
// Description of product
Description string `json:"Description,omitempty"`
Description *string `json:"Description,omitempty"`
// Full Description of product
FullDescription string `json:"FullDescription,omitempty"`
FullDescription *string `json:"FullDescription,omitempty"`
// Record Id
ID string `json:"ID,omitempty"`
// Image Alt Text
ImageAltText string `json:"ImageAltText,omitempty"`
ImageAltText *string `json:"ImageAltText,omitempty"`
// Image URL
ImageURL string `json:"ImageURL,omitempty"`
ImageURL *string `json:"ImageURL,omitempty"`
// Industries
Industries []*Industry `json:"Industries"`
// Last Modified By User ID
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
// Last Modified Date
LastModifiedDate string `json:"LastModifiedDate,omitempty"`
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
// Logo
Logo string `json:"Logo,omitempty"`
Logo *string `json:"Logo,omitempty"`
// Product Name
Name string `json:"Name,omitempty"`
Name *string `json:"Name,omitempty"`
// Product Video ID
ProductVideoID string `json:"ProductVideoID,omitempty"`
ProductVideoID *string `json:"ProductVideoID,omitempty"`
// Published
Published bool `json:"Published,omitempty"`
Published *bool `json:"Published,omitempty"`
// Salesforce Specific
SalesforceSpecific bool `json:"SalesforceSpecific,omitempty"`
SalesforceSpecific *bool `json:"SalesforceSpecific,omitempty"`
// Slug
Slug string `json:"Slug,omitempty"`
Slug *string `json:"Slug,omitempty"`
// TagLine
TagLine string `json:"TagLine,omitempty"`
TagLine *string `json:"TagLine,omitempty"`
// Website
URL string `json:"URL,omitempty"`
URL *string `json:"URL,omitempty"`
}
// Validate validates this company product

View File

@ -24,34 +24,34 @@ import (
type Factor struct {
// Created By User ID
CreatedByID string `json:"CreatedByID,omitempty"`
CreatedByID *string `json:"CreatedByID,omitempty"`
// Created Date
CreatedDate string `json:"CreatedDate,omitempty"`
CreatedDate *string `json:"CreatedDate,omitempty"`
// Topic Description
Description string `json:"Description,omitempty"`
Description *string `json:"Description,omitempty"`
// Record Id
ID string `json:"ID,omitempty"`
// Last Modified By User ID
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
// Last Modified Date
LastModifiedDate string `json:"LastModifiedDate,omitempty"`
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
// Factor Name
Name string `json:"Name,omitempty"`
Name *string `json:"Name,omitempty"`
// The list of Observations used to analyze this industry
Observations []*Observation `json:"Observations"`
// The slug of the corresponding page on the CMS
Slug string `json:"Slug,omitempty"`
Slug *string `json:"Slug,omitempty"`
// The ID of the Topic that owns this Factor
TopicID string `json:"TopicID,omitempty"`
TopicID *string `json:"TopicID,omitempty"`
}
// Validate validates this factor

View File

@ -22,52 +22,52 @@ import (
type FinancialStatement struct {
// EDGAR Access Number
AccessNumber string `json:"AccessNumber,omitempty"`
AccessNumber *string `json:"AccessNumber,omitempty"`
// Account ID
AccountID string `json:"AccountID,omitempty"`
AccountID *string `json:"AccountID,omitempty"`
// Cloud Revenue
CloudRevenue float64 `json:"CloudRevenue,omitempty"`
CloudRevenue *float64 `json:"CloudRevenue,omitempty"`
// Created By User ID
CreatedByID string `json:"CreatedByID,omitempty"`
CreatedByID *string `json:"CreatedByID,omitempty"`
// Created Date
CreatedDate string `json:"CreatedDate,omitempty"`
CreatedDate *string `json:"CreatedDate,omitempty"`
// Description
Description string `json:"Description,omitempty"`
Description *string `json:"Description,omitempty"`
// EDGAR URL
EdgarURL string `json:"EdgarURL,omitempty"`
EdgarURL *string `json:"EdgarURL,omitempty"`
// Filing Type
FilingType string `json:"FilingType,omitempty"`
FilingType *string `json:"FilingType,omitempty"`
// Gross Profit
GrossProfit float64 `json:"GrossProfit,omitempty"`
GrossProfit *float64 `json:"GrossProfit,omitempty"`
// Record Id
ID string `json:"ID,omitempty"`
// Last Modified By User ID
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
// Last Modified Date
LastModifiedDate string `json:"LastModifiedDate,omitempty"`
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
// Net Income
NetIncome float64 `json:"NetIncome,omitempty"`
NetIncome *float64 `json:"NetIncome,omitempty"`
// Period End Date
PeriodEndDate string `json:"PeriodEndDate,omitempty"`
PeriodEndDate *string `json:"PeriodEndDate,omitempty"`
// Total Revenue
TotalRevenue float64 `json:"TotalRevenue,omitempty"`
TotalRevenue *float64 `json:"TotalRevenue,omitempty"`
// Year
Year string `json:"Year,omitempty"`
Year *string `json:"Year,omitempty"`
}
// Validate validates this financial statement

View File

@ -27,52 +27,52 @@ type Industry struct {
CompanyProducts []*CompanyProduct `json:"CompanyProducts"`
// Created By User ID
CreatedByID string `json:"CreatedByID,omitempty"`
CreatedByID *string `json:"CreatedByID,omitempty"`
// Created Date
CreatedDate string `json:"CreatedDate,omitempty"`
CreatedDate *string `json:"CreatedDate,omitempty"`
// Industry Description
Description string `json:"Description,omitempty"`
Description *string `json:"Description,omitempty"`
// Record Id
ID string `json:"ID,omitempty"`
// Image Alt Text
ImageAltText string `json:"ImageAltText,omitempty"`
ImageAltText *string `json:"ImageAltText,omitempty"`
// Image URL
ImageURL string `json:"ImageURL,omitempty"`
ImageURL *string `json:"ImageURL,omitempty"`
// Last Modified By User ID
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
// Last Modified Date
LastModifiedDate string `json:"LastModifiedDate,omitempty"`
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
// The hierarchical level of this Industry
Level string `json:"Level,omitempty"`
Level *string `json:"Level,omitempty"`
// Logo
Logo string `json:"Logo,omitempty"`
Logo *string `json:"Logo,omitempty"`
// Industry Name
Name string `json:"Name,omitempty"`
Name *string `json:"Name,omitempty"`
// The ID of the Parent Industry
ParentIndustryID string `json:"ParentIndustryID,omitempty"`
ParentIndustryID *string `json:"ParentIndustryID,omitempty"`
// The full path of this industry, including Parent
Path string `json:"Path,omitempty"`
Path *string `json:"Path,omitempty"`
// Is this industry a product category?
ProductCategory bool `json:"ProductCategory,omitempty"`
ProductCategory *bool `json:"ProductCategory,omitempty"`
// The CMS Slug for this Industry
Slug string `json:"Slug,omitempty"`
Slug *string `json:"Slug,omitempty"`
// TagLine
TagLine string `json:"TagLine,omitempty"`
TagLine *string `json:"TagLine,omitempty"`
}
// Validate validates this industry

View File

@ -22,28 +22,28 @@ import (
type IndustryCompany struct {
// account ID
AccountID string `json:"AccountID,omitempty"`
AccountID *string `json:"AccountID,omitempty"`
// Created By User ID
CreatedByID string `json:"CreatedByID,omitempty"`
CreatedByID *string `json:"CreatedByID,omitempty"`
// Created Date
CreatedDate string `json:"CreatedDate,omitempty"`
CreatedDate *string `json:"CreatedDate,omitempty"`
// Record Id
ID string `json:"ID,omitempty"`
// industry ID
IndustryID string `json:"IndustryID,omitempty"`
IndustryID *string `json:"IndustryID,omitempty"`
// Last Modified By User ID
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
// Last Modified Date
LastModifiedDate string `json:"LastModifiedDate,omitempty"`
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
// path
Path string `json:"Path,omitempty"`
Path *string `json:"Path,omitempty"`
}
// Validate validates this industry company

View File

@ -22,28 +22,28 @@ import (
type IndustryProduct struct {
// company product ID
CompanyProductID string `json:"CompanyProductID,omitempty"`
CompanyProductID *string `json:"CompanyProductID,omitempty"`
// Created By User ID
CreatedByID string `json:"CreatedByID,omitempty"`
CreatedByID *string `json:"CreatedByID,omitempty"`
// Created Date
CreatedDate string `json:"CreatedDate,omitempty"`
CreatedDate *string `json:"CreatedDate,omitempty"`
// HTML
HTML string `json:"HTML,omitempty"`
HTML *string `json:"HTML,omitempty"`
// Record Id
ID string `json:"ID,omitempty"`
// industry ID
IndustryID string `json:"IndustryID,omitempty"`
IndustryID *string `json:"IndustryID,omitempty"`
// Last Modified By User ID
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
// Last Modified Date
LastModifiedDate string `json:"LastModifiedDate,omitempty"`
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
}
// Validate validates this industry product

View File

@ -22,37 +22,37 @@ import (
type Observation struct {
// The ID of the Company being analyzed
AccountID string `json:"AccountID,omitempty"`
AccountID *string `json:"AccountID,omitempty"`
// The ID of the Product being analyzed
CompanyProductID string `json:"CompanyProductID,omitempty"`
CompanyProductID *string `json:"CompanyProductID,omitempty"`
// Created By User ID
CreatedByID string `json:"CreatedByID,omitempty"`
CreatedByID *string `json:"CreatedByID,omitempty"`
// Created Date
CreatedDate string `json:"CreatedDate,omitempty"`
CreatedDate *string `json:"CreatedDate,omitempty"`
// Notes concerning data collection
Description string `json:"Description,omitempty"`
Description *string `json:"Description,omitempty"`
// The ID of the Factor that owns this Observation
FactorID string `json:"FactorID,omitempty"`
FactorID *string `json:"FactorID,omitempty"`
// Record Id
ID string `json:"ID,omitempty"`
// Last Modified By User ID
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
// Last Modified Date
LastModifiedDate string `json:"LastModifiedDate,omitempty"`
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
// Is the subject a Company or a Product?
SubjectType string `json:"SubjectType,omitempty"`
SubjectType *string `json:"SubjectType,omitempty"`
// The data point collected
Value string `json:"Value,omitempty"`
Value *string `json:"Value,omitempty"`
}
// Validate validates this observation

View File

@ -24,13 +24,13 @@ import (
type Topic struct {
// Created By User ID
CreatedByID string `json:"CreatedByID,omitempty"`
CreatedByID *string `json:"CreatedByID,omitempty"`
// Created Date
CreatedDate string `json:"CreatedDate,omitempty"`
CreatedDate *string `json:"CreatedDate,omitempty"`
// Topic Description
Description string `json:"Description,omitempty"`
Description *string `json:"Description,omitempty"`
// The list of Factors used to analyze this industry
Factors []*Factor `json:"Factors"`
@ -39,19 +39,19 @@ type Topic struct {
ID string `json:"ID,omitempty"`
// Last Modified By User ID
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
// Last Modified Date
LastModifiedDate string `json:"LastModifiedDate,omitempty"`
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
// Topic Name
Name string `json:"Name,omitempty"`
Name *string `json:"Name,omitempty"`
// The ID of the Parent Topic
ParentTopicID string `json:"ParentTopicID,omitempty"`
ParentTopicID *string `json:"ParentTopicID,omitempty"`
// The CMS Slug for this Topic
Slug string `json:"Slug,omitempty"`
Slug *string `json:"Slug,omitempty"`
}
// Validate validates this topic

View File

@ -23,169 +23,169 @@ import (
type Account struct {
// Account Number
AccountNumber string `json:"AccountNumber,omitempty"`
AccountNumber *string `json:"AccountNumber,omitempty"`
// The marketing origin of this account
AccountSource string `json:"AccountSource,omitempty"`
AccountSource *string `json:"AccountSource,omitempty"`
// active
Active bool `json:"Active,omitempty"`
Active *bool `json:"Active,omitempty"`
// Annual Revenue Estimate
AnnualRevenue float64 `json:"AnnualRevenue,omitempty"`
AnnualRevenue *float64 `json:"AnnualRevenue,omitempty"`
// billing address
BillingAddress *Address `json:"BillingAddress,omitempty"`
// Contact ID
BillingContactID string `json:"BillingContactID,omitempty"`
BillingContactID *string `json:"BillingContactID,omitempty"`
// Close Date
CloseDate string `json:"CloseDate,omitempty"`
// Closed Date
ClosedDate *string `json:"ClosedDate,omitempty"`
// cloud revenue total
CloudRevenueTotal float64 `json:"CloudRevenueTotal,omitempty"`
CloudRevenueTotal *float64 `json:"CloudRevenueTotal,omitempty"`
// The type of cloud company
CloudType string `json:"CloudType,omitempty"`
CloudType *string `json:"CloudType,omitempty"`
// The year company started cloud revenue
CloudYear string `json:"CloudYear,omitempty"`
CloudYear *string `json:"CloudYear,omitempty"`
// Created By User ID
CreatedByID string `json:"CreatedByID,omitempty"`
CreatedByID *string `json:"CreatedByID,omitempty"`
// Created Date
CreatedDate string `json:"CreatedDate,omitempty"`
CreatedDate *string `json:"CreatedDate,omitempty"`
// Crunchbase URL
CrunchbaseURL string `json:"CrunchbaseURL,omitempty"`
CrunchbaseURL *string `json:"CrunchbaseURL,omitempty"`
// Description of the account
Description string `json:"Description,omitempty"`
Description *string `json:"Description,omitempty"`
// e i n
EIN string `json:"EIN,omitempty"`
EIN *string `json:"EIN,omitempty"`
// Earnings Call Date
EarningsCall string `json:"EarningsCall,omitempty"`
EarningsCall *string `json:"EarningsCall,omitempty"`
// Main Account Email
Email string `json:"Email,omitempty"`
Email *string `json:"Email,omitempty"`
// The amount of equity EquityFunding
EquityFunding float64 `json:"EquityFunding,omitempty"`
EquityFunding *float64 `json:"EquityFunding,omitempty"`
// Company Facebook URL
Facebook string `json:"Facebook,omitempty"`
Facebook *string `json:"Facebook,omitempty"`
// Fax number
Fax string `json:"Fax,omitempty"`
Fax *string `json:"Fax,omitempty"`
// Date company founded
FoundedDate string `json:"FoundedDate,omitempty"`
FoundedDate *string `json:"FoundedDate,omitempty"`
// Taxnexus Account Id
// Account Id
ID string `json:"ID,omitempty"`
// IPO Date
IPODate string `json:"IPODate,omitempty"`
IPODate *string `json:"IPODate,omitempty"`
// image alt text
ImageAltText string `json:"ImageAltText,omitempty"`
ImageAltText *string `json:"ImageAltText,omitempty"`
// image URL
ImageURL string `json:"ImageURL,omitempty"`
ImageURL *string `json:"ImageURL,omitempty"`
// Industries
Industries string `json:"Industries,omitempty"`
Industries *string `json:"Industries,omitempty"`
// Industry
Industry string `json:"Industry,omitempty"`
Industry *string `json:"Industry,omitempty"`
// Last Modified By User ID
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
// Last Modified Date
LastModifiedDate string `json:"LastModifiedDate,omitempty"`
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
// Company LinkedIn URL
LinkedIn string `json:"LinkedIn,omitempty"`
LinkedIn *string `json:"LinkedIn,omitempty"`
// Headquarters Location Description
Location string `json:"Location,omitempty"`
Location *string `json:"Location,omitempty"`
// Company Logo URL
Logo string `json:"Logo,omitempty"`
Logo *string `json:"Logo,omitempty"`
// Market Capitalization
MarketCapitalization float64 `json:"MarketCapitalization,omitempty"`
MarketCapitalization *float64 `json:"MarketCapitalization,omitempty"`
// Account Name
Name string `json:"Name,omitempty"`
Name *string `json:"Name,omitempty"`
// Number of Investments
NumberInvestments float64 `json:"NumberInvestments,omitempty"`
NumberInvestments *float64 `json:"NumberInvestments,omitempty"`
// Employee Count Estimate
NumberOfEmployees int64 `json:"NumberOfEmployees,omitempty"`
NumberOfEmployees *int64 `json:"NumberOfEmployees,omitempty"`
// Account Owner User ID
OwnerID string `json:"OwnerID,omitempty"`
OwnerID *string `json:"OwnerID,omitempty"`
// Ownership
Ownership string `json:"Ownership,omitempty"`
Ownership *string `json:"Ownership,omitempty"`
// Parent Account
ParentID string `json:"ParentID,omitempty"`
ParentID *string `json:"ParentID,omitempty"`
// Phone
Phone string `json:"Phone,omitempty"`
Phone *string `json:"Phone,omitempty"`
// Publish this record?
Publish bool `json:"Publish,omitempty"`
Publish *bool `json:"Publish,omitempty"`
// SIC Code
SIC string `json:"SIC,omitempty"`
SIC *string `json:"SIC,omitempty"`
// SIC Description
SICDesc string `json:"SICDesc,omitempty"`
SICDesc *string `json:"SICDesc,omitempty"`
// A Salesforce-First company?
SalesforceFirst bool `json:"SalesforceFirst,omitempty"`
SalesforceFirst *bool `json:"SalesforceFirst,omitempty"`
// shipping address
ShippingAddress *Address `json:"ShippingAddress,omitempty"`
// Shipping Contact ID
ShippingContactID string `json:"ShippingContactID,omitempty"`
ShippingContactID *string `json:"ShippingContactID,omitempty"`
// Account Site
Site string `json:"Site,omitempty"`
Site *string `json:"Site,omitempty"`
// Slug
Slug string `json:"Slug,omitempty"`
Slug *string `json:"Slug,omitempty"`
// Company tagline
TagLine string `json:"TagLine,omitempty"`
TagLine *string `json:"TagLine,omitempty"`
// Tenant Identifier
TenantID string `json:"TenantID,omitempty"`
TenantID *string `json:"TenantID,omitempty"`
// Ticker Symbol
TickerSymbol string `json:"TickerSymbol,omitempty"`
TickerSymbol *string `json:"TickerSymbol,omitempty"`
// Twitter URL
Twitter string `json:"Twitter,omitempty"`
Twitter *string `json:"Twitter,omitempty"`
// Type
Type string `json:"Type,omitempty"`
Type *string `json:"Type,omitempty"`
// Website
Website string `json:"Website,omitempty"`
Website *string `json:"Website,omitempty"`
// Year Started
YearStarted string `json:"YearStarted,omitempty"`
YearStarted *string `json:"YearStarted,omitempty"`
}
// Validate validates this account

View File

@ -22,25 +22,25 @@ import (
type Address struct {
// City
City string `json:"City,omitempty"`
City *string `json:"City,omitempty"`
// Country full name
Country string `json:"Country,omitempty"`
Country *string `json:"Country,omitempty"`
// Country Code
CountryCode string `json:"CountryCode,omitempty"`
CountryCode *string `json:"CountryCode,omitempty"`
// Postal Code
PostalCode string `json:"PostalCode,omitempty"`
PostalCode *string `json:"PostalCode,omitempty"`
// State full name
State string `json:"State,omitempty"`
State *string `json:"State,omitempty"`
// State Code
StateCode string `json:"StateCode,omitempty"`
StateCode *string `json:"StateCode,omitempty"`
// Street number and name
Street string `json:"Street,omitempty"`
Street *string `json:"Street,omitempty"`
}
// Validate validates this address

View File

@ -23,142 +23,142 @@ import (
type Asset struct {
// Account
AccountID string `json:"AccountID,omitempty"`
AccountID *string `json:"AccountID,omitempty"`
// address
Address *Address `json:"Address,omitempty"`
// Asset Level
AssetLevel float64 `json:"AssetLevel,omitempty"`
AssetLevel *float64 `json:"AssetLevel,omitempty"`
// Asset Provided By
AssetProvidedByID string `json:"AssetProvidedByID,omitempty"`
AssetProvidedByID *string `json:"AssetProvidedByID,omitempty"`
// Asset Serviced By
AssetServicedByID string `json:"AssetServicedByID,omitempty"`
AssetServicedByID *string `json:"AssetServicedByID,omitempty"`
// Company Product
CompanyProductID string `json:"CompanyProductID,omitempty"`
CompanyProductID *string `json:"CompanyProductID,omitempty"`
// Consequence Of Failure
ConsequenceOfFailure string `json:"ConsequenceOfFailure,omitempty"`
ConsequenceOfFailure *string `json:"ConsequenceOfFailure,omitempty"`
// Contact
ContactID string `json:"ContactID,omitempty"`
ContactID *string `json:"ContactID,omitempty"`
// Created By
CreatedByID string `json:"CreatedByID,omitempty"`
CreatedByID *string `json:"CreatedByID,omitempty"`
// Created Date
CreatedDate string `json:"CreatedDate,omitempty"`
CreatedDate *string `json:"CreatedDate,omitempty"`
// Current Amount
CurrentAmount float64 `json:"CurrentAmount,omitempty"`
CurrentAmount *float64 `json:"CurrentAmount,omitempty"`
// Current Lifecycle End Date
CurrentLifecycleEndDate string `json:"CurrentLifecycleEndDate,omitempty"`
CurrentLifecycleEndDate *string `json:"CurrentLifecycleEndDate,omitempty"`
// Current Monthly Recurring Revenue
CurrentMrr float64 `json:"CurrentMrr,omitempty"`
CurrentMrr *float64 `json:"CurrentMrr,omitempty"`
// Current Quantity
CurrentQuantity float64 `json:"CurrentQuantity,omitempty"`
CurrentQuantity *float64 `json:"CurrentQuantity,omitempty"`
// Description
Description string `json:"Description,omitempty"`
Description *string `json:"Description,omitempty"`
// Digital Asset Status
DigitalAssetStatus string `json:"DigitalAssetStatus,omitempty"`
DigitalAssetStatus *string `json:"DigitalAssetStatus,omitempty"`
// External Id
ExternalIdentifier string `json:"ExternalIdentifier,omitempty"`
ExternalIdentifier *string `json:"ExternalIdentifier,omitempty"`
// Has Lifecycle Management
HasLifecycleManagement bool `json:"HasLifecycleManagement,omitempty"`
HasLifecycleManagement *bool `json:"HasLifecycleManagement,omitempty"`
// Record Id
ID string `json:"ID,omitempty"`
// Install Date
InstallDate string `json:"InstallDate,omitempty"`
InstallDate *string `json:"InstallDate,omitempty"`
// Competitor Asset
IsCompetitorProduct bool `json:"IsCompetitorProduct,omitempty"`
IsCompetitorProduct *bool `json:"IsCompetitorProduct,omitempty"`
// Internal Asset
IsInternal bool `json:"IsInternal,omitempty"`
IsInternal *bool `json:"IsInternal,omitempty"`
// Last Modified By
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
// Last Modified Date
LastModifiedDate string `json:"LastModifiedDate,omitempty"`
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
// Location
LocationID string `json:"LocationID,omitempty"`
LocationID *string `json:"LocationID,omitempty"`
// MIME Type
MIMEType string `json:"MIMEType,omitempty"`
MIMEType *string `json:"MIMEType,omitempty"`
// Manufacture Date
ManufactureDate string `json:"ManufactureDate,omitempty"`
ManufactureDate *string `json:"ManufactureDate,omitempty"`
// Asset Name
Name string `json:"Name,omitempty"`
Name *string `json:"Name,omitempty"`
// Parent Asset
ParentID string `json:"ParentID,omitempty"`
ParentID *string `json:"ParentID,omitempty"`
// Price
Price float64 `json:"Price,omitempty"`
Price *float64 `json:"Price,omitempty"`
// Product
Product2ID string `json:"Product2ID,omitempty"`
Product2ID *string `json:"Product2ID,omitempty"`
// Product Code
ProductCode string `json:"ProductCode,omitempty"`
ProductCode *string `json:"ProductCode,omitempty"`
// Product Description
ProductDescription string `json:"ProductDescription,omitempty"`
ProductDescription *string `json:"ProductDescription,omitempty"`
// Product Family
ProductFamily string `json:"ProductFamily,omitempty"`
ProductFamily *string `json:"ProductFamily,omitempty"`
// Purchase Date
PurchaseDate string `json:"PurchaseDate,omitempty"`
PurchaseDate *string `json:"PurchaseDate,omitempty"`
// Quantity
Quantity float64 `json:"Quantity,omitempty"`
Quantity *float64 `json:"Quantity,omitempty"`
// Root Asset
RootAssetID string `json:"RootAssetID,omitempty"`
RootAssetID *string `json:"RootAssetID,omitempty"`
// Serial Number
SerialNumber string `json:"SerialNumber,omitempty"`
SerialNumber *string `json:"SerialNumber,omitempty"`
// Status
Status string `json:"Status,omitempty"`
Status *string `json:"Status,omitempty"`
// Status Reason
StatusReason string `json:"StatusReason,omitempty"`
StatusReason *string `json:"StatusReason,omitempty"`
// Product SKU
StockKeepingUnit string `json:"StockKeepingUnit,omitempty"`
StockKeepingUnit *string `json:"StockKeepingUnit,omitempty"`
// Tenant ID
TenantID string `json:"TenantID,omitempty"`
TenantID *string `json:"TenantID,omitempty"`
// Total Lifecycle Amount
TotalLifecycleAmount float64 `json:"TotalLifecycleAmount,omitempty"`
TotalLifecycleAmount *float64 `json:"TotalLifecycleAmount,omitempty"`
// Type
Type string `json:"Type,omitempty"`
Type *string `json:"Type,omitempty"`
// URL
URL string `json:"URL,omitempty"`
URL *string `json:"URL,omitempty"`
// Usage End Date
UsageEndDate string `json:"UsageEndDate,omitempty"`
UsageEndDate *string `json:"UsageEndDate,omitempty"`
}
// Validate validates this asset

View File

@ -22,55 +22,55 @@ import (
type Cluster struct {
// Created By
CreatedByID string `json:"CreatedByID,omitempty"`
CreatedByID *string `json:"CreatedByID,omitempty"`
// Created Date
CreatedDate string `json:"CreatedDate,omitempty"`
CreatedDate *string `json:"CreatedDate,omitempty"`
// Description
Description string `json:"Description,omitempty"`
Description *string `json:"Description,omitempty"`
// Environment
Environment string `json:"Environment,omitempty"`
Environment *string `json:"Environment,omitempty"`
// Gateway
Gateway string `json:"Gateway,omitempty"`
Gateway *string `json:"Gateway,omitempty"`
// Record Id
ID string `json:"ID,omitempty"`
// IP Address
IPAddress string `json:"IpAddress,omitempty"`
IPAddress *string `json:"IpAddress,omitempty"`
// Last Modified By
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
// Last Modified Date
LastModifiedDate string `json:"LastModifiedDate,omitempty"`
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
// Cluster Name
Name string `json:"Name,omitempty"`
Name *string `json:"Name,omitempty"`
// Owner
OwnerID string `json:"OwnerID,omitempty"`
OwnerID *string `json:"OwnerID,omitempty"`
// External Reference
Ref string `json:"Ref,omitempty"`
Ref *string `json:"Ref,omitempty"`
// Status
Status string `json:"Status,omitempty"`
Status *string `json:"Status,omitempty"`
// Subnet
Subnet string `json:"Subnet,omitempty"`
Subnet *string `json:"Subnet,omitempty"`
// tenantid
TenantID string `json:"TenantID,omitempty"`
TenantID *string `json:"TenantID,omitempty"`
// Type
Type string `json:"Type,omitempty"`
Type *string `json:"Type,omitempty"`
// Zone
Zone string `json:"Zone,omitempty"`
Zone *string `json:"Zone,omitempty"`
}
// Validate validates this cluster

View File

@ -25,55 +25,55 @@ type CompanyProduct struct {
AccountID string `json:"AccountID,omitempty"`
// Created By User ID
CreatedByID string `json:"CreatedByID,omitempty"`
CreatedByID *string `json:"CreatedByID,omitempty"`
// Created Date
CreatedDate string `json:"CreatedDate,omitempty"`
CreatedDate *string `json:"CreatedDate,omitempty"`
// Description of product
Description string `json:"Description,omitempty"`
Description *string `json:"Description,omitempty"`
// Full Description of product
FullDescription string `json:"FullDescription,omitempty"`
FullDescription *string `json:"FullDescription,omitempty"`
// Record Id
ID string `json:"ID,omitempty"`
// Image Alt Text
ImageAltText string `json:"ImageAltText,omitempty"`
ImageAltText *string `json:"ImageAltText,omitempty"`
// Image URL
ImageURL string `json:"ImageURL,omitempty"`
ImageURL *string `json:"ImageURL,omitempty"`
// Last Modified By User ID
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
// Last Modified Date
LastModifiedDate string `json:"LastModifiedDate,omitempty"`
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
// Logo
Logo string `json:"Logo,omitempty"`
Logo *string `json:"Logo,omitempty"`
// Product Name
Name string `json:"Name,omitempty"`
Name *string `json:"Name,omitempty"`
// Product Video ID
ProductVideoID string `json:"ProductVideoID,omitempty"`
ProductVideoID *string `json:"ProductVideoID,omitempty"`
// Published
Published bool `json:"Published,omitempty"`
Published *bool `json:"Published,omitempty"`
// Salesforce Specific
SalesforceSpecific bool `json:"SalesforceSpecific,omitempty"`
SalesforceSpecific *bool `json:"SalesforceSpecific,omitempty"`
// Slug
Slug string `json:"Slug,omitempty"`
Slug *string `json:"Slug,omitempty"`
// TagLine
TagLine string `json:"TagLine,omitempty"`
TagLine *string `json:"TagLine,omitempty"`
// Website
URL string `json:"URL,omitempty"`
URL *string `json:"URL,omitempty"`
}
// Validate validates this company product

View File

@ -23,130 +23,130 @@ import (
type Contact struct {
// The primary account ID of this contact
AccountID string `json:"AccountID,omitempty"`
AccountID *string `json:"AccountID,omitempty"`
// Assistant Name
AssistantName string `json:"AssistantName,omitempty"`
AssistantName *string `json:"AssistantName,omitempty"`
// Asst. Phone
AssistantPhone string `json:"AssistantPhone,omitempty"`
AssistantPhone *string `json:"AssistantPhone,omitempty"`
// Birthdate
BirthDate string `json:"BirthDate,omitempty"`
BirthDate *string `json:"BirthDate,omitempty"`
// Created By User ID
CreatedByID string `json:"CreatedByID,omitempty"`
CreatedByID *string `json:"CreatedByID,omitempty"`
// Created Date
CreatedDate string `json:"CreatedDate,omitempty"`
CreatedDate *string `json:"CreatedDate,omitempty"`
// Crunchbase URL
CrunchbaseURL string `json:"CrunchbaseURL,omitempty"`
CrunchbaseURL *string `json:"CrunchbaseURL,omitempty"`
// Department
Department string `json:"Department,omitempty"`
Department *string `json:"Department,omitempty"`
// Description
Description string `json:"Description,omitempty"`
Description *string `json:"Description,omitempty"`
// Do Not Call?
DoNotCall bool `json:"DoNotCall,omitempty"`
DoNotCall *bool `json:"DoNotCall,omitempty"`
// Email address
Email string `json:"Email,omitempty"`
Email *string `json:"Email,omitempty"`
// Email Bounce Date
EmailBounceDate string `json:"EmailBounceDate,omitempty"`
EmailBounceDate *string `json:"EmailBounceDate,omitempty"`
// Email Bounce Reason
EmailBounceReason string `json:"EmailBounceReason,omitempty"`
EmailBounceReason *string `json:"EmailBounceReason,omitempty"`
// Fax Number
Facebook string `json:"Facebook,omitempty"`
Facebook *string `json:"Facebook,omitempty"`
// fax
Fax string `json:"Fax,omitempty"`
Fax *string `json:"Fax,omitempty"`
// First Name
FirstName string `json:"FirstName,omitempty"`
FirstName *string `json:"FirstName,omitempty"`
// Email Opt Out
HasOptedOutOfEmail bool `json:"HasOptedOutOfEmail,omitempty"`
HasOptedOutOfEmail *bool `json:"HasOptedOutOfEmail,omitempty"`
// Fax Opt Out
HasOptedOutOfFax bool `json:"HasOptedOutOfFax,omitempty"`
HasOptedOutOfFax *bool `json:"HasOptedOutOfFax,omitempty"`
// Home Phone
HomePhone string `json:"HomePhone,omitempty"`
HomePhone *string `json:"HomePhone,omitempty"`
// Record Id
ID string `json:"ID,omitempty"`
// Does this contact have bounced emails?
IsEmailBounced bool `json:"IsEmailBounced,omitempty"`
IsEmailBounced *bool `json:"IsEmailBounced,omitempty"`
// Last Modified By User ID
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
// Last Modified Date
LastModifiedDate string `json:"LastModifiedDate,omitempty"`
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
// Last Name
LastName string `json:"LastName,omitempty"`
LastName *string `json:"LastName,omitempty"`
// Lead Source
LeadSource string `json:"LeadSource,omitempty"`
LeadSource *string `json:"LeadSource,omitempty"`
// LinkedIn Page
LinkedIn string `json:"LinkedIn,omitempty"`
LinkedIn *string `json:"LinkedIn,omitempty"`
// mailing address
MailingAddress *Address `json:"MailingAddress,omitempty"`
// Mobile Phone
MobilePhone string `json:"MobilePhone,omitempty"`
MobilePhone *string `json:"MobilePhone,omitempty"`
// Full Name
Name string `json:"Name,omitempty"`
Name *string `json:"Name,omitempty"`
// Number of Investments
NumberInvestments float64 `json:"NumberInvestments,omitempty"`
NumberInvestments *float64 `json:"NumberInvestments,omitempty"`
// other address
OtherAddress *Address `json:"OtherAddress,omitempty"`
// Other Phone
OtherPhone string `json:"OtherPhone,omitempty"`
OtherPhone *string `json:"OtherPhone,omitempty"`
// The User ID of the user who owns this Contact
OwnerID string `json:"OwnerID,omitempty"`
OwnerID *string `json:"OwnerID,omitempty"`
// Personal Email Address for this Contact
PersonalEmail string `json:"PersonalEmail,omitempty"`
PersonalEmail *string `json:"PersonalEmail,omitempty"`
// Phone Number
Phone string `json:"Phone,omitempty"`
Phone *string `json:"Phone,omitempty"`
// URL of a photograph of this User
PhotoURL string `json:"PhotoURL,omitempty"`
PhotoURL *string `json:"PhotoURL,omitempty"`
// Reports To User ID
ReportsToID string `json:"ReportsToID,omitempty"`
ReportsToID *string `json:"ReportsToID,omitempty"`
// Salutation
Salutation string `json:"Salutation,omitempty"`
Salutation *string `json:"Salutation,omitempty"`
// Slug
Slug string `json:"Slug,omitempty"`
Slug *string `json:"Slug,omitempty"`
// tenant identifier
TenantID string `json:"TenantID,omitempty"`
TenantID *string `json:"TenantID,omitempty"`
// Contact Title
Title string `json:"Title,omitempty"`
Title *string `json:"Title,omitempty"`
// twitter
Twitter string `json:"Twitter,omitempty"`
Twitter *string `json:"Twitter,omitempty"`
}
// Validate validates this contact

View File

@ -23,97 +23,97 @@ import (
type Contract struct {
// Account
AccountID string `json:"AccountID,omitempty"`
AccountID *string `json:"AccountID,omitempty"`
// Activated By
ActivatedByID string `json:"ActivatedByID,omitempty"`
ActivatedByID *string `json:"ActivatedByID,omitempty"`
// Activated Date
ActivatedDate string `json:"ActivatedDate,omitempty"`
ActivatedDate *string `json:"ActivatedDate,omitempty"`
// Billing Address
BillingAddress *Address `json:"BillingAddress,omitempty"`
// Billing Contact
BillingContactID string `json:"BillingContactID,omitempty"`
BillingContactID *string `json:"BillingContactID,omitempty"`
// Company Signed Date
CompanySignedDate string `json:"CompanySignedDate,omitempty"`
CompanySignedDate *string `json:"CompanySignedDate,omitempty"`
// Company Signed By
CompanySignedID string `json:"CompanySignedID,omitempty"`
CompanySignedID *string `json:"CompanySignedID,omitempty"`
// Contract Number
ContractNumber string `json:"ContractNumber,omitempty"`
ContractNumber *string `json:"ContractNumber,omitempty"`
// Contract Term (months)
ContractTerm float64 `json:"ContractTerm,omitempty"`
ContractTerm *float64 `json:"ContractTerm,omitempty"`
// Created By User ID
CreatedByID string `json:"CreatedByID,omitempty"`
CreatedByID *string `json:"CreatedByID,omitempty"`
// Created Date
CreatedDate string `json:"CreatedDate,omitempty"`
CreatedDate *string `json:"CreatedDate,omitempty"`
// Customer Signed Date
CustomerSignedDate string `json:"CustomerSignedDate,omitempty"`
CustomerSignedDate *string `json:"CustomerSignedDate,omitempty"`
// Customer Signed By
CustomerSignedID string `json:"CustomerSignedID,omitempty"`
CustomerSignedID *string `json:"CustomerSignedID,omitempty"`
// Customer Signed Title
CustomerSignedTitle string `json:"CustomerSignedTitle,omitempty"`
CustomerSignedTitle *string `json:"CustomerSignedTitle,omitempty"`
// End User
DefaultEndUserID string `json:"DefaultEndUserID,omitempty"`
DefaultEndUserID *string `json:"DefaultEndUserID,omitempty"`
// Description
Description string `json:"Description,omitempty"`
Description *string `json:"Description,omitempty"`
// Contract End Date
EndDate string `json:"EndDate,omitempty"`
EndDate *string `json:"EndDate,omitempty"`
// End User
EndUserID string `json:"EndUserID,omitempty"`
EndUserID *string `json:"EndUserID,omitempty"`
// Hourly Rate
HourlyRate float64 `json:"HourlyRate,omitempty"`
HourlyRate *float64 `json:"HourlyRate,omitempty"`
// Telnexus Record Id
ID string `json:"ID,omitempty"`
// Last Modified By User ID
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
// Last Modified Date
LastModifiedDate string `json:"LastModifiedDate,omitempty"`
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
// Contract Name
Name string `json:"Name,omitempty"`
Name *string `json:"Name,omitempty"`
// Payment Method
PaymentMethodID string `json:"PaymentMethodID,omitempty"`
PaymentMethodID *string `json:"PaymentMethodID,omitempty"`
// Payment Terms
PaymentTerms string `json:"PaymentTerms,omitempty"`
PaymentTerms *string `json:"PaymentTerms,omitempty"`
// Perpetual Agreement?
Perpetual bool `json:"Perpetual,omitempty"`
Perpetual *bool `json:"Perpetual,omitempty"`
// Shipping Address
ShippingAddress *Address `json:"ShippingAddress,omitempty"`
// Shipping Contact
ShippingContactID string `json:"ShippingContactID,omitempty"`
ShippingContactID *string `json:"ShippingContactID,omitempty"`
// Contract Start Date
StartDate string `json:"StartDate,omitempty"`
StartDate *string `json:"StartDate,omitempty"`
// Status
Status string `json:"Status,omitempty"`
Status *string `json:"Status,omitempty"`
// Tenant Identifier
TenantID string `json:"TenantID,omitempty"`
TenantID *string `json:"TenantID,omitempty"`
}
// Validate validates this contract

View File

@ -22,43 +22,43 @@ import (
type Database struct {
// Is this database active?
Active bool `json:"Active,omitempty"`
Active *bool `json:"Active,omitempty"`
// The ID of the Cluster in which this database is deployed
ClusterID string `json:"ClusterID,omitempty"`
ClusterID *string `json:"ClusterID,omitempty"`
// Created By
CreatedByID string `json:"CreatedByID,omitempty"`
CreatedByID *string `json:"CreatedByID,omitempty"`
// Created Date
CreatedDate string `json:"CreatedDate,omitempty"`
CreatedDate *string `json:"CreatedDate,omitempty"`
// Database connection string
DSN string `json:"DSN,omitempty"`
DSN *string `json:"DSN,omitempty"`
// The name of the physical database in the cluster
DatabaseName string `json:"DatabaseName,omitempty"`
DatabaseName *string `json:"DatabaseName,omitempty"`
// Record Id
ID string `json:"ID,omitempty"`
// Last Modified By
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
// Last Modifed Date
LastModifiedDate string `json:"LastModifiedDate,omitempty"`
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
// List of microservices implemented by this Database
Microservices string `json:"Microservices,omitempty"`
Microservices *string `json:"Microservices,omitempty"`
// The current status of this Tenant
Status string `json:"Status,omitempty"`
Status *string `json:"Status,omitempty"`
// The ID of the tenant who owns this Database
TenantID string `json:"TenantID,omitempty"`
TenantID *string `json:"TenantID,omitempty"`
// The type of Database (mysql, etc)
Type string `json:"Type,omitempty"`
Type *string `json:"Type,omitempty"`
}
// Validate validates this database

View File

@ -24,34 +24,34 @@ import (
type Factor struct {
// Created By User ID
CreatedByID string `json:"CreatedByID,omitempty"`
CreatedByID *string `json:"CreatedByID,omitempty"`
// Created Date
CreatedDate string `json:"CreatedDate,omitempty"`
CreatedDate *string `json:"CreatedDate,omitempty"`
// Topic Description
Description string `json:"Description,omitempty"`
Description *string `json:"Description,omitempty"`
// Record Id
ID string `json:"ID,omitempty"`
// Last Modified By User ID
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
// Last Modified Date
LastModifiedDate string `json:"LastModifiedDate,omitempty"`
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
// Factor Name
Name string `json:"Name,omitempty"`
Name *string `json:"Name,omitempty"`
// The list of Observations used to analyze this industry
Observations []*Observation `json:"Observations"`
// The slug of the corresponding page on the CMS
Slug string `json:"Slug,omitempty"`
Slug *string `json:"Slug,omitempty"`
// The ID of the Topic that owns this Factor
TopicID string `json:"TopicID,omitempty"`
TopicID *string `json:"TopicID,omitempty"`
}
// Validate validates this factor

View File

@ -22,52 +22,52 @@ import (
type FinancialStatement struct {
// EDGAR Access Number
AccessNumber string `json:"AccessNumber,omitempty"`
AccessNumber *string `json:"AccessNumber,omitempty"`
// Account ID
AccountID string `json:"AccountID,omitempty"`
AccountID *string `json:"AccountID,omitempty"`
// Cloud Revenue
CloudRevenue float64 `json:"CloudRevenue,omitempty"`
CloudRevenue *float64 `json:"CloudRevenue,omitempty"`
// Created By User ID
CreatedByID string `json:"CreatedByID,omitempty"`
CreatedByID *string `json:"CreatedByID,omitempty"`
// Created Date
CreatedDate string `json:"CreatedDate,omitempty"`
CreatedDate *string `json:"CreatedDate,omitempty"`
// Description
Description string `json:"Description,omitempty"`
Description *string `json:"Description,omitempty"`
// EDGAR URL
EdgarURL string `json:"EdgarURL,omitempty"`
EdgarURL *string `json:"EdgarURL,omitempty"`
// Filing Type
FilingType string `json:"FilingType,omitempty"`
FilingType *string `json:"FilingType,omitempty"`
// Gross Profit
GrossProfit float64 `json:"GrossProfit,omitempty"`
GrossProfit *float64 `json:"GrossProfit,omitempty"`
// Record Id
ID string `json:"ID,omitempty"`
// Last Modified By User ID
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
// Last Modified Date
LastModifiedDate string `json:"LastModifiedDate,omitempty"`
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
// Net Income
NetIncome float64 `json:"NetIncome,omitempty"`
NetIncome *float64 `json:"NetIncome,omitempty"`
// Period End Date
PeriodEndDate string `json:"PeriodEndDate,omitempty"`
PeriodEndDate *string `json:"PeriodEndDate,omitempty"`
// Total Revenue
TotalRevenue float64 `json:"TotalRevenue,omitempty"`
TotalRevenue *float64 `json:"TotalRevenue,omitempty"`
// Year
Year string `json:"Year,omitempty"`
Year *string `json:"Year,omitempty"`
}
// Validate validates this financial statement

View File

@ -30,55 +30,55 @@ type Industry struct {
CompanyProducts []*CompanyProduct `json:"CompanyProducts"`
// Created By User ID
CreatedByID string `json:"CreatedByID,omitempty"`
CreatedByID *string `json:"CreatedByID,omitempty"`
// Created Date
CreatedDate string `json:"CreatedDate,omitempty"`
CreatedDate *string `json:"CreatedDate,omitempty"`
// Industry Description
Description string `json:"Description,omitempty"`
Description *string `json:"Description,omitempty"`
// Record Id
ID string `json:"ID,omitempty"`
// Image Alt Text
ImageAltText string `json:"ImageAltText,omitempty"`
ImageAltText *string `json:"ImageAltText,omitempty"`
// Image URL
ImageURL string `json:"ImageURL,omitempty"`
ImageURL *string `json:"ImageURL,omitempty"`
// Last Modified By User ID
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
// Last Modified Date
LastModifiedDate string `json:"LastModifiedDate,omitempty"`
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
// The hierarchical level of this Industry
Level string `json:"Level,omitempty"`
Level *string `json:"Level,omitempty"`
// Logo
Logo string `json:"Logo,omitempty"`
Logo *string `json:"Logo,omitempty"`
// Industry Name
Name string `json:"Name,omitempty"`
Name *string `json:"Name,omitempty"`
// The ID of the Parent Industry
ParentIndustryID string `json:"ParentIndustryID,omitempty"`
ParentIndustryID *string `json:"ParentIndustryID,omitempty"`
// The full path of this industry, including Parent
Path string `json:"Path,omitempty"`
Path *string `json:"Path,omitempty"`
// Is this industry a Product Category?
ProductCategory bool `json:"ProductCategory,omitempty"`
ProductCategory *bool `json:"ProductCategory,omitempty"`
// The URL of the corresponding page on the CMS
SiteURL string `json:"SiteURL,omitempty"`
SiteURL *string `json:"SiteURL,omitempty"`
// The CMS Slug for this Industry
Slug string `json:"Slug,omitempty"`
Slug *string `json:"Slug,omitempty"`
// TagLine
TagLine string `json:"TagLine,omitempty"`
TagLine *string `json:"TagLine,omitempty"`
}
// Validate validates this industry

View File

@ -22,28 +22,28 @@ import (
type IndustryCompany struct {
// company ID
CompanyID string `json:"CompanyID,omitempty"`
CompanyID *string `json:"CompanyID,omitempty"`
// Created By User ID
CreatedByID string `json:"CreatedByID,omitempty"`
CreatedByID *string `json:"CreatedByID,omitempty"`
// Created Date
CreatedDate string `json:"CreatedDate,omitempty"`
CreatedDate *string `json:"CreatedDate,omitempty"`
// Record Id
ID string `json:"ID,omitempty"`
// industry ID
IndustryID string `json:"IndustryID,omitempty"`
IndustryID *string `json:"IndustryID,omitempty"`
// Last Modified By User ID
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
// Last Modified Date
LastModifiedDate string `json:"LastModifiedDate,omitempty"`
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
// path
Path string `json:"Path,omitempty"`
Path *string `json:"Path,omitempty"`
}
// Validate validates this industry company

View File

@ -26,13 +26,13 @@ type IndustryProduct struct {
CompanyProduct *CompanyProduct `json:"CompanyProduct,omitempty"`
// company product ID
CompanyProductID string `json:"CompanyProductID,omitempty"`
CompanyProductID *string `json:"CompanyProductID,omitempty"`
// Created By User ID
CreatedByID string `json:"CreatedByID,omitempty"`
CreatedByID *string `json:"CreatedByID,omitempty"`
// Created Date
CreatedDate string `json:"CreatedDate,omitempty"`
CreatedDate *string `json:"CreatedDate,omitempty"`
// Record Id
ID string `json:"ID,omitempty"`
@ -41,13 +41,13 @@ type IndustryProduct struct {
Industry *Industry `json:"Industry,omitempty"`
// industry ID
IndustryID string `json:"IndustryID,omitempty"`
IndustryID *string `json:"IndustryID,omitempty"`
// Last Modified By User ID
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
// Last Modified Date
LastModifiedDate string `json:"LastModifiedDate,omitempty"`
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
}
// Validate validates this industry product

View File

@ -25,7 +25,7 @@ type Message struct {
Message string `json:"message,omitempty"`
// ref
Ref string `json:"ref,omitempty"`
Ref *string `json:"ref,omitempty"`
// status
Status int64 `json:"status,omitempty"`

View File

@ -22,37 +22,37 @@ import (
type Observation struct {
// The ID of the Company being analyzed
AccountID string `json:"AccountID,omitempty"`
AccountID *string `json:"AccountID,omitempty"`
// The ID of the Product being analyzed
CompanyProductID string `json:"CompanyProductID,omitempty"`
CompanyProductID *string `json:"CompanyProductID,omitempty"`
// Created By User ID
CreatedByID string `json:"CreatedByID,omitempty"`
CreatedByID *string `json:"CreatedByID,omitempty"`
// Created Date
CreatedDate string `json:"CreatedDate,omitempty"`
CreatedDate *string `json:"CreatedDate,omitempty"`
// Notes concerning data collection
Description string `json:"Description,omitempty"`
Description *string `json:"Description,omitempty"`
// The ID of the Factor that owns this Observation
FactorID string `json:"FactorID,omitempty"`
FactorID *string `json:"FactorID,omitempty"`
// Record Id
ID string `json:"ID,omitempty"`
// Last Modified By User ID
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
// Last Modified Date
LastModifiedDate string `json:"LastModifiedDate,omitempty"`
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
// Is the subject a Company or a Product?
SubjectType string `json:"SubjectType,omitempty"`
SubjectType *string `json:"SubjectType,omitempty"`
// The data point collected
Value string `json:"Value,omitempty"`
Value *string `json:"Value,omitempty"`
}
// Validate validates this observation

View File

@ -12,10 +12,8 @@ package sfgate_models
import (
"context"
"github.com/go-openapi/errors"
"github.com/go-openapi/strfmt"
"github.com/go-openapi/swag"
"github.com/go-openapi/validate"
)
// RequestMeta request meta
@ -24,30 +22,11 @@ import (
type RequestMeta struct {
// Account Number of the Reseller or OEM
// Required: true
TaxnexusAccount *string `json:"TaxnexusAccount"`
TaxnexusAccount string `json:"TaxnexusAccount,omitempty"`
}
// Validate validates this request meta
func (m *RequestMeta) Validate(formats strfmt.Registry) error {
var res []error
if err := m.validateTaxnexusAccount(formats); err != nil {
res = append(res, err)
}
if len(res) > 0 {
return errors.CompositeValidationError(res...)
}
return nil
}
func (m *RequestMeta) validateTaxnexusAccount(formats strfmt.Registry) error {
if err := validate.Required("TaxnexusAccount", "body", m.TaxnexusAccount); err != nil {
return err
}
return nil
}

View File

@ -22,31 +22,31 @@ import (
type Role struct {
// the corresponding auth0 role
Auth0RoleID string `json:"Auth0RoleID,omitempty"`
Auth0RoleID *string `json:"Auth0RoleID,omitempty"`
// created by
CreatedByID string `json:"CreatedByID:,omitempty"`
CreatedByID *string `json:"CreatedByID:,omitempty"`
// created date
CreatedDate string `json:"CreatedDate,omitempty"`
CreatedDate *string `json:"CreatedDate,omitempty"`
// role description
Description string `json:"Description,omitempty"`
Description *string `json:"Description,omitempty"`
// record id
ID string `json:"ID,omitempty"`
// last modified by
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
// last modifed date
LastModifiedDate string `json:"LastModifiedDate,omitempty"`
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
// the name of this role
RoleName string `json:"RoleName,omitempty"`
RoleName *string `json:"RoleName,omitempty"`
// the id of the tenant that owns this role
TenantID string `json:"TenantID,omitempty"`
TenantID *string `json:"TenantID,omitempty"`
}
// Validate validates this role

View File

@ -22,50 +22,50 @@ import (
type Template struct {
// created by ID
CreatedByID string `json:"CreatedByID,omitempty"`
CreatedByID *string `json:"CreatedByID,omitempty"`
// created date
CreatedDate string `json:"CreatedDate,omitempty"`
CreatedDate *string `json:"CreatedDate,omitempty"`
// Description
Description string `json:"Description,omitempty"`
Description *string `json:"Description,omitempty"`
// HTML Body
// Format: byte
HTML strfmt.Base64 `json:"HTML,omitempty"`
HTML *strfmt.Base64 `json:"HTML,omitempty"`
// Record Id
ID string `json:"ID,omitempty"`
// Active?
IsActive bool `json:"IsActive,omitempty"`
IsActive *bool `json:"IsActive,omitempty"`
// Master Template?
IsMaster bool `json:"IsMaster,omitempty"`
IsMaster *bool `json:"IsMaster,omitempty"`
// last modified by ID
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
// last modified date
LastModifiedDate string `json:"LastModifiedDate,omitempty"`
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
// Template Name
Name string `json:"Name,omitempty"`
Name *string `json:"Name,omitempty"`
// Object
ObjectType string `json:"ObjectType,omitempty"`
ObjectType *string `json:"ObjectType,omitempty"`
// Record Type Name
RecordTypeName string `json:"RecordTypeName,omitempty"`
RecordTypeName *string `json:"RecordTypeName,omitempty"`
// tenant identifier
TenantID string `json:"TenantID,omitempty"`
TenantID *string `json:"TenantID,omitempty"`
// Type
Type string `json:"Type,omitempty"`
Type *string `json:"Type,omitempty"`
// URL
URL string `json:"URL,omitempty"`
URL *string `json:"URL,omitempty"`
}
// Validate validates this template

View File

@ -24,16 +24,16 @@ import (
type Tenant struct {
// The Account that owns this Tenant
AccountID string `json:"AccountID,omitempty"`
AccountID *string `json:"AccountID,omitempty"`
// Is this Tenant currently active?
Active bool `json:"Active,omitempty"`
Active *bool `json:"Active,omitempty"`
// Created By
CreatedByID string `json:"CreatedByID,omitempty"`
CreatedByID *string `json:"CreatedByID,omitempty"`
// Created Date
CreatedDate string `json:"CreatedDate,omitempty"`
CreatedDate *string `json:"CreatedDate,omitempty"`
// databases
Databases []*Database `json:"Databases"`
@ -42,28 +42,28 @@ type Tenant struct {
ID string `json:"ID,omitempty"`
// Last Modified By
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
// Last Modifed Date
LastModifiedDate string `json:"LastModifiedDate,omitempty"`
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
// roles
Roles []*Role `json:"Roles"`
// The current status of this Tenant
Status string `json:"Status,omitempty"`
Status *string `json:"Status,omitempty"`
// Name of the Tenant Resource
TenantName string `json:"TenantName,omitempty"`
TenantName *string `json:"TenantName,omitempty"`
// tenant users
TenantUsers []*TenantUser `json:"TenantUsers"`
// Type of tenant
Type string `json:"Type,omitempty"`
Type *string `json:"Type,omitempty"`
// The version number of the Tenant Onboarding system used to create this tenant
Version string `json:"Version,omitempty"`
Version *string `json:"Version,omitempty"`
}
// Validate validates this tenant

View File

@ -22,13 +22,13 @@ import (
type TenantUser struct {
// The Tenant access level for this User
Accesslevel string `json:"accesslevel,omitempty"`
AccessLevel string `json:"AccessLevel,omitempty"`
// The Tenant ID
Tenantid string `json:"tenantid,omitempty"`
TemamtOD string `json:"TemamtOD,omitempty"`
// The User ID
Userid string `json:"userid,omitempty"`
UserID string `json:"UserID,omitempty"`
}
// Validate validates this tenant user

View File

@ -24,13 +24,13 @@ import (
type Topic struct {
// Created By User ID
CreatedByID string `json:"CreatedByID,omitempty"`
CreatedByID *string `json:"CreatedByID,omitempty"`
// Created Date
CreatedDate string `json:"CreatedDate,omitempty"`
CreatedDate *string `json:"CreatedDate,omitempty"`
// Topic Description
Description string `json:"Description,omitempty"`
Description *string `json:"Description,omitempty"`
// The list of Factors used to analyze this industry
Factors []*Factor `json:"Factors"`
@ -39,19 +39,19 @@ type Topic struct {
ID string `json:"ID,omitempty"`
// Last Modified By User ID
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
// Last Modified Date
LastModifiedDate string `json:"LastModifiedDate,omitempty"`
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
// Topic Name
Name string `json:"Name,omitempty"`
Name *string `json:"Name,omitempty"`
// The ID of the Parent Topic
ParentTopicID string `json:"ParentTopicID,omitempty"`
ParentTopicID *string `json:"ParentTopicID,omitempty"`
// The CMS Slug for this Topic
Slug string `json:"Slug,omitempty"`
Slug *string `json:"Slug,omitempty"`
}
// Validate validates this topic

View File

@ -24,199 +24,199 @@ import (
type User struct {
// API Gateway URL
APIGatewayURL string `json:"APIGatewayURL,omitempty"`
APIGatewayURL *string `json:"APIGatewayURL,omitempty"`
// API Gateway User
APIGatewayUser string `json:"APIGatewayUser,omitempty"`
APIGatewayUser *string `json:"APIGatewayUser,omitempty"`
// API Key
APIKey string `json:"APIKey,omitempty"`
APIKey *string `json:"APIKey,omitempty"`
// About Me
AboutMe string `json:"AboutMe,omitempty"`
AboutMe *string `json:"AboutMe,omitempty"`
// Account ID
AccountID string `json:"AccountID,omitempty"`
AccountID *string `json:"AccountID,omitempty"`
// address
Address *Address `json:"Address,omitempty"`
// Alias
Alias string `json:"Alias,omitempty"`
Alias *string `json:"Alias,omitempty"`
// Auth0 User Id
Auth0UserID string `json:"Auth0UserID,omitempty"`
Auth0UserID *string `json:"Auth0UserID,omitempty"`
// Nickname
CommunityNickname string `json:"CommunityNickname,omitempty"`
CommunityNickname *string `json:"CommunityNickname,omitempty"`
// Company Name
CompanyName string `json:"CompanyName,omitempty"`
CompanyName *string `json:"CompanyName,omitempty"`
// Contact
ContactID string `json:"ContactID,omitempty"`
ContactID *string `json:"ContactID,omitempty"`
// Created User ID
CreatedByID string `json:"CreatedByID,omitempty"`
CreatedByID *string `json:"CreatedByID,omitempty"`
// Date Created
CreatedDate string `json:"CreatedDate,omitempty"`
CreatedDate *string `json:"CreatedDate,omitempty"`
// Delegated Approver
DelegatedApproverID string `json:"DelegatedApproverID,omitempty"`
DelegatedApproverID *string `json:"DelegatedApproverID,omitempty"`
// Department
Department string `json:"Department,omitempty"`
Department *string `json:"Department,omitempty"`
// Division
Division string `json:"Division,omitempty"`
Division *string `json:"Division,omitempty"`
// Email address
Email string `json:"Email,omitempty"`
Email *string `json:"Email,omitempty"`
// Employee Number
EmployeeNumber string `json:"EmployeeNumber,omitempty"`
EmployeeNumber *string `json:"EmployeeNumber,omitempty"`
// Time day ends
EndOfDay string `json:"EndOfDay,omitempty"`
EndOfDay *string `json:"EndOfDay,omitempty"`
// Environment
Environment string `json:"Environment,omitempty"`
Environment *string `json:"Environment,omitempty"`
// Extension
Extension string `json:"Extension,omitempty"`
Extension *string `json:"Extension,omitempty"`
// Fabric API Key
FabricAPIKey string `json:"FabricAPIKey,omitempty"`
FabricAPIKey *string `json:"FabricAPIKey,omitempty"`
// Fax
Fax string `json:"Fax,omitempty"`
Fax *string `json:"Fax,omitempty"`
// The first name
FirstName string `json:"FirstName,omitempty"`
FirstName *string `json:"FirstName,omitempty"`
// Allow Forecasting
ForecastEnabled bool `json:"ForecastEnabled,omitempty"`
ForecastEnabled *bool `json:"ForecastEnabled,omitempty"`
// Full Photo URL
FullPhotoURL string `json:"FullPhotoURL,omitempty"`
FullPhotoURL *string `json:"FullPhotoURL,omitempty"`
// GitHub
GitHub string `json:"GitHub,omitempty"`
GitHub *string `json:"GitHub,omitempty"`
// Record ID
ID string `json:"ID,omitempty"`
// Active
IsActive bool `json:"IsActive,omitempty"`
IsActive *bool `json:"IsActive,omitempty"`
// Is the user enabled for Communities?
IsPortalEnabled bool `json:"IsPortalEnabled,omitempty"`
IsPortalEnabled *bool `json:"IsPortalEnabled,omitempty"`
// Has Profile Photo
IsProfilePhotoActive bool `json:"IsProfilePhotoActive,omitempty"`
IsProfilePhotoActive *bool `json:"IsProfilePhotoActive,omitempty"`
// is system controlled
IsSystemControlled bool `json:"IsSystemControlled,omitempty"`
IsSystemControlled *bool `json:"IsSystemControlled,omitempty"`
// IP address of last login
LastIP string `json:"LastIP,omitempty"`
LastIP *string `json:"LastIP,omitempty"`
// Last login time
LastLogin string `json:"LastLogin,omitempty"`
LastLogin *string `json:"LastLogin,omitempty"`
// Last Modified User ID
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
// Last Modified Date
LastModifiedDate string `json:"LastModifiedDate,omitempty"`
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
// The Last Name
LastName string `json:"LastName,omitempty"`
LastName *string `json:"LastName,omitempty"`
// LinkedIn
LinkedIn string `json:"LinkedIn,omitempty"`
LinkedIn *string `json:"LinkedIn,omitempty"`
// Number of times user has logged in
LoginCount int64 `json:"LoginCount,omitempty"`
LoginCount *int64 `json:"LoginCount,omitempty"`
// Manager
ManagerID string `json:"ManagerID,omitempty"`
ManagerID *string `json:"ManagerID,omitempty"`
// Mobile
MobilePhone string `json:"MobilePhone,omitempty"`
MobilePhone *string `json:"MobilePhone,omitempty"`
// Name
Name string `json:"Name,omitempty"`
Name *string `json:"Name,omitempty"`
// Out of office message
OutOfOfficeMessage string `json:"OutOfOfficeMessage,omitempty"`
OutOfOfficeMessage *string `json:"OutOfOfficeMessage,omitempty"`
// Phone
Phone string `json:"Phone,omitempty"`
Phone *string `json:"Phone,omitempty"`
// Portal Role Level
PortalRole string `json:"PortalRole,omitempty"`
PortalRole *string `json:"PortalRole,omitempty"`
// Profile
ProfileID string `json:"ProfileID,omitempty"`
ProfileID *string `json:"ProfileID,omitempty"`
// Info Emails
ReceivesAdminEmails bool `json:"ReceivesAdminEmails,omitempty"`
ReceivesAdminEmails *bool `json:"ReceivesAdminEmails,omitempty"`
// Admin Info Emails
ReceivesAdminInfoEmails bool `json:"ReceivesAdminInfoEmails,omitempty"`
ReceivesAdminInfoEmails *bool `json:"ReceivesAdminInfoEmails,omitempty"`
// Info Emails
ReceivesInfoEmails bool `json:"ReceivesInfoEmails,omitempty"`
ReceivesInfoEmails *bool `json:"ReceivesInfoEmails,omitempty"`
// Email Sender Address
SenderEmail string `json:"SenderEmail,omitempty"`
SenderEmail *string `json:"SenderEmail,omitempty"`
// Email Sender Name
SenderName string `json:"SenderName,omitempty"`
SenderName *string `json:"SenderName,omitempty"`
// Email Signature
Signature string `json:"Signature,omitempty"`
Signature *string `json:"Signature,omitempty"`
// Small Photo URL
SmallPhotoURL string `json:"SmallPhotoURL,omitempty"`
SmallPhotoURL *string `json:"SmallPhotoURL,omitempty"`
// The time day starts
StartOfDay string `json:"StartOfDay,omitempty"`
StartOfDay *string `json:"StartOfDay,omitempty"`
// Status
Status string `json:"Status,omitempty"`
Status *string `json:"Status,omitempty"`
// Taxnexus Account
TaxnexusAccount string `json:"TaxnexusAccount,omitempty"`
// Account
TaxnexusAccount *string `json:"TaxnexusAccount,omitempty"`
// Tenant ID associated with this user
TenantID string `json:"TenantID,omitempty"`
TenantID *string `json:"TenantID,omitempty"`
// tenant users
TenantUsers []*TenantUser `json:"TenantUsers"`
// Time Zone
TimeZone string `json:"TimeZone,omitempty"`
TimeZone *string `json:"TimeZone,omitempty"`
// Title
Title string `json:"Title,omitempty"`
Title *string `json:"Title,omitempty"`
// Twitter
Twitter string `json:"Twitter,omitempty"`
Twitter *string `json:"Twitter,omitempty"`
// Role
UserRoleID string `json:"UserRoleID,omitempty"`
UserRoleID *string `json:"UserRoleID,omitempty"`
// user roles
UserRoles []*UserRole `json:"UserRoles"`
// User Type
UserType string `json:"UserType,omitempty"`
UserType *string `json:"UserType,omitempty"`
// Username
Username string `json:"Username,omitempty"`
Username *string `json:"Username,omitempty"`
}
// Validate validates this user

View File

@ -22,34 +22,34 @@ import (
type UserRole struct {
// auth0role ID
Auth0roleID string `json:"Auth0roleID,omitempty"`
Auth0roleID *string `json:"Auth0roleID,omitempty"`
// created by ID
CreatedByID string `json:"CreatedByID,omitempty"`
CreatedByID *string `json:"CreatedByID,omitempty"`
// created date
CreatedDate *string `json:"CreatedDate,omitempty"`
// description
Description string `json:"Description,omitempty"`
Description *string `json:"Description,omitempty"`
// ID
ID string `json:"ID,omitempty"`
// last modified by ID
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
// last modified date
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
// name
Name string `json:"Name,omitempty"`
Name *string `json:"Name,omitempty"`
// role ID
RoleID string `json:"RoleID,omitempty"`
RoleID *string `json:"RoleID,omitempty"`
// user ID
UserID string `json:"UserID,omitempty"`
UserID *string `json:"UserID,omitempty"`
}
// Validate validates this user role

View File

@ -316,8 +316,8 @@ paths:
tags:
- Accounts
put:
description: Update a single account specified by accountId
operationId: putAccount
description: Update one or more accounts
operationId: putAccounts
parameters:
- $ref: "#/parameters/accountRequest"
responses:

View File

@ -6,158 +6,212 @@ Account:
AccountNumber:
description: Account Number
type: string
x-nullable: true
AccountSource:
description: The marketing origin of this account
type: string
x-nullable: true
Active:
type: boolean
x-nullable: true
AnnualRevenue:
description: Annual Revenue Estimate
format: double
type: number
x-nullable: true
BillingAddress:
$ref: "./address.yaml#/Address"
x-nullable: true
BillingContactID:
description: Contact ID
type: string
CloseDate:
x-nullable: true
ClosedDate:
description: Close Date
type: string
x-nullable: true
CloudRevenueTotal:
type: number
x-nullable: true
CloudType:
description: The type of cloud company
type: string
x-nullable: true
CloudYear:
description: The year company started cloud revenue
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
CrunchbaseURL:
description: Crunchbase URL
type: string
x-nullable: true
Description:
description: Description of the account
type: string
x-nullable: true
EIN:
type: string
x-nullable: true
EarningsCall:
description: Earnings Call Date
type: string
x-nullable: true
Email:
description: Main Account Email
type: string
x-nullable: true
EquityFunding:
description: The amount of equity EquityFunding
type: number
x-nullable: true
Facebook:
description: Company Facebook URL
type: string
x-nullable: true
Fax:
description: Fax number
type: string
x-nullable: true
FoundedDate:
description: Date company founded
type: string
x-nullable: true
IPODate:
description: IPO Date
type: string
x-nullable: true
ImageAltText:
type: string
x-nullable: true
ImageURL:
type: string
x-nullable: true
Industries:
description: Industries
type: string
x-nullable: true
Industry:
description: Industry
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
LinkedIn:
description: Company LinkedIn URL
type: string
x-nullable: true
Location:
description: Headquarters Location Description
type: string
x-nullable: true
Logo:
description: Company Logo URL
type: string
x-nullable: true
MarketCapitalization:
description: Market Capitalization
type: number
x-nullable: true
Name:
description: Account Name
type: string
x-nullable: true
NumberInvestments:
description: Number of Investments
type: number
x-nullable: true
NumberOfEmployees:
description: Employee Count Estimate
format: int64
type: number
x-nullable: true
OwnerID:
description: Account Owner User ID
type: string
x-nullable: true
Ownership:
description: Ownership
type: string
x-nullable: true
ParentID:
description: Parent Account
type: string
x-nullable: true
Phone:
description: Phone
type: string
x-nullable: true
Publish:
description: Publish this record?
type: boolean
x-nullable: true
SIC:
description: SIC Code
type: string
x-nullable: true
SICDesc:
description: SIC Description
type: string
x-nullable: true
SalesforceFirst:
description: A Salesforce-First company?
type: boolean
x-nullable: true
ShippingAddress:
$ref: "./address.yaml#/Address"
x-nullable: true
ShippingContactID:
description: Shipping Contact ID
type: string
x-nullable: true
Site:
description: Account Site
type: string
x-nullable: true
Slug:
description: Slug
type: string
x-nullable: true
TagLine:
description: Company tagline
type: string
x-nullable: true
TenantID:
description: Tenant Identifier
type: string
x-nullable: true
TickerSymbol:
description: Ticker Symbol
type: string
x-nullable: true
Twitter:
description: Twitter URL
type: string
x-nullable: true
Type:
description: Type
type: string
x-nullable: true
Website:
description: Website
type: string
x-nullable: true
YearStarted:
description: Year Started
type: string
x-nullable: true
type: object

View File

@ -3,22 +3,29 @@ Address:
City:
description: City
type: string
x-nullable: true
Country:
description: Country full name
type: string
x-nullable: true
CountryCode:
description: Country Code
type: string
x-nullable: true
PostalCode:
description: Postal Code
type: string
x-nullable: true
State:
description: State full name
type: string
x-nullable: true
StateCode:
description: State Code
type: string
x-nullable: true
Street:
description: Street number and name
type: string
x-nullable: true
type: object

View File

@ -6,135 +6,179 @@ Asset:
AccountID:
description: Account
type: string
x-nullable: true
Address:
$ref: "./address.yaml#/Address"
AssetLevel:
description: Asset Level
type: number
x-nullable: true
AssetProvidedByID:
description: Asset Provided By
type: string
x-nullable: true
AssetServicedByID:
description: Asset Serviced By
type: string
x-nullable: true
CompanyProductID:
description: Company Product
type: string
x-nullable: true
ConsequenceOfFailure:
description: Consequence Of Failure
type: string
x-nullable: true
ContactID:
description: Contact
type: string
x-nullable: true
CreatedByID:
description: Created By
type: string
x-nullable: true
CreatedDate:
description: Created Date
type: string
x-nullable: true
CurrentAmount:
description: Current Amount
type: number
x-nullable: true
CurrentLifecycleEndDate:
description: Current Lifecycle End Date
type: string
x-nullable: true
CurrentMrr:
description: Current Monthly Recurring Revenue
type: number
x-nullable: true
CurrentQuantity:
description: Current Quantity
type: number
x-nullable: true
Description:
description: Description
type: string
x-nullable: true
DigitalAssetStatus:
description: Digital Asset Status
type: string
x-nullable: true
ExternalIdentifier:
description: External Id
type: string
x-nullable: true
HasLifecycleManagement:
description: Has Lifecycle Management
type: boolean
x-nullable: true
InstallDate:
description: Install Date
type: string
x-nullable: true
IsCompetitorProduct:
description: Competitor Asset
type: boolean
x-nullable: true
IsInternal:
description: Internal Asset
type: boolean
x-nullable: true
LastModifiedByID:
description: Last Modified By
type: string
x-nullable: true
LastModifiedDate:
description: Last Modified Date
type: string
x-nullable: true
LocationID:
description: Location
type: string
x-nullable: true
MIMEType:
description: MIME Type
type: string
x-nullable: true
ManufactureDate:
description: Manufacture Date
type: string
x-nullable: true
Name:
description: Asset Name
type: string
x-nullable: true
ParentID:
description: Parent Asset
type: string
x-nullable: true
Price:
description: Price
type: number
x-nullable: true
Product2ID:
description: Product
type: string
x-nullable: true
ProductCode:
description: Product Code
type: string
x-nullable: true
ProductDescription:
description: Product Description
type: string
x-nullable: true
ProductFamily:
description: Product Family
type: string
x-nullable: true
PurchaseDate:
description: Purchase Date
type: string
x-nullable: true
Quantity:
description: Quantity
type: number
x-nullable: true
RootAssetID:
description: Root Asset
type: string
x-nullable: true
SerialNumber:
description: Serial Number
type: string
x-nullable: true
Status:
description: Status
type: string
x-nullable: true
StatusReason:
description: Status Reason
type: string
x-nullable: true
StockKeepingUnit:
description: Product SKU
type: string
x-nullable: true
TenantID:
description: Tenant ID
type: string
x-nullable: true
TotalLifecycleAmount:
description: Total Lifecycle Amount
type: number
x-nullable: true
Type:
description: Type
type: string
x-nullable: true
URL:
description: URL
type: string
x-nullable: true
UsageEndDate:
description: Usage End Date
type: string
x-nullable: true
type: object

View File

@ -6,120 +6,160 @@ Contact:
AccountID:
description: The primary account ID of this contact
type: string
x-nullable: true
AssistantName:
description: Assistant Name
type: string
x-nullable: true
AssistantPhone:
description: Asst. Phone
type: string
x-nullable: true
BirthDate:
description: Birthdate
type: string
x-nullable: true
CrunchbaseURL:
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
Department:
description: Department
type: string
x-nullable: true
Description:
description: Description
type: string
x-nullable: true
DoNotCall:
description: Do Not Call?
type: boolean
x-nullable: true
Email:
description: Email address
type: string
x-nullable: true
EmailBounceDate:
description: Email Bounce Date
type: string
x-nullable: true
EmailBouncedReason:
description: Email Bounce Reason
type: string
x-nullable: true
Facebook:
description: Facebook Page
type: string
x-nullable: true
Fax:
description: Fax Number
type: string
x-nullable: true
FirstName:
description: First Name
type: string
x-nullable: true
HasOptedOutOfEmail:
description: Email Opt Out
type: boolean
x-nullable: true
HasOptedOutOfFax:
description: Fax Opt Out
type: boolean
x-nullable: true
HomePhone:
description: Home Phone
type: string
x-nullable: true
IsEmailBounced:
description: Does this contact have bounced emails?
type: boolean
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
LastName:
description: Last Name
type: string
x-nullable: true
LeadSource:
description: Lead Source
type: string
x-nullable: true
LinkedIn:
description: LinkedIn Page
type: string
x-nullable: true
MailingAddress:
$ref: "./address.yaml#/Address"
MobilePhone:
description: Mobile Phone
type: string
x-nullable: true
Name:
description: Full Name
type: string
x-nullable: true
NumberInvestments:
type: number
x-nullable: true
OtherAddress:
$ref: "./address.yaml#/Address"
x-nullable: true
OtherPhone:
description: Other Phone
type: string
x-nullable: true
OwnerID:
description: The User ID of the user who owns this Contact
type: string
x-nullable: true
PersonalEmail:
description: Personal Email Address for this Contact
type: string
x-nullable: true
Phone:
description: Phone Number
type: string
x-nullable: true
PhotoURL:
description: URL of a photograph of this User
type: string
x-nullable: true
ReportsToID:
description: Reports To
type: string
x-nullable: true
Salutation:
description: Salutation
type: string
x-nullable: true
Slug:
description: Slug
type: string
x-nullable: true
TenantID:
description: Tenant Identifier
type: string
x-nullable: true
Title:
description: Contact Title
type: string
x-nullable: true
Twitter:
description: Twitter URL
type: string
x-nullable: true
type: object

View File

@ -3,94 +3,122 @@ Contract:
AccountID:
description: Account
type: string
x-nullable: true
ActivatedByID:
description: Activated By
type: string
x-nullable: true
ActivatedDate:
description: Activated Date
type: string
x-nullable: true
BillingAddress:
$ref: "./address.yaml#/Address"
description: Billing Address
BillingContactID:
description: Billing Contact
type: string
x-nullable: true
CompanySignedDate:
description: Company Signed Date
type: string
x-nullable: true
CompanySignedID:
description: Company Signed By
type: string
x-nullable: true
ContractNumber:
description: Contract Number
type: string
x-nullable: true
ContractTerm:
description: Contract Term (months)
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
CustomerSignedDate:
description: Customer Signed Date
type: string
x-nullable: true
CustomerSignedID:
description: Customer Signed By
type: string
x-nullable: true
CustomerSignedTitle:
description: Customer Signed Title
type: string
x-nullable: true
DefaultEndUserID:
description: End User
type: string
x-nullable: true
Description:
description: Description
type: string
x-nullable: true
EndDate:
description: Contract End Date
type: string
x-nullable: true
EndUserID:
description: End User
type: string
x-nullable: true
HourlyRate:
description: Hourly Rate
type: number
x-nullable: true
ID:
description: Telnexus Record 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: Contract Name
type: string
x-nullable: true
PaymentMethodID:
description: Payment Method
type: string
x-nullable: true
PaymentTerms:
description: Payment Terms
type: string
x-nullable: true
Perpetual:
description: Perpetual Agreement?
type: boolean
x-nullable: true
ShippingAddress:
$ref: "./address.yaml#/Address"
description: Shipping Address
ShippingContactID:
description: Shipping Contact
type: string
x-nullable: true
StartDate:
description: Contract Start Date
type: string
x-nullable: true
Status:
description: Status
type: string
x-nullable: true
TenantID:
description: Tenant Identifier
type: string
x-nullable: true
type: object

View File

@ -2,85 +2,112 @@ Lead:
properties:
Address:
$ref: "./address.yaml#/Address"
x-nullable: true
Company:
description: Company
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
type: string
x-nullable: true
Email:
description: Email
type: string
x-nullable: true
FirstName:
description: First Name
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
LastName:
description: Last Name
type: string
x-nullable: true
MobilePhone:
description: Mobile
type: string
x-nullable: true
Name:
description: Name
type: string
x-nullable: true
OwnerId:
description: LeadBasic Owner
type: string
x-nullable: true
PartnerAccountId:
description: Partner Account
type: string
x-nullable: true
Phone:
description: Phone
type: string
x-nullable: true
ProductID:
description: Product
type: string
x-nullable: true
RefererURL:
description: referer_url
type: string
x-nullable: true
Status:
description: LeadBasic Status
type: string
x-nullable: true
TenantID:
description: Tenant Identifier
type: string
x-nullable: true
Title:
description: Title
type: string
x-nullable: true
Type:
description: Type
type: string
x-nullable: true
UTMCampaign:
description: utm_campaign
type: string
x-nullable: true
UTMContent:
description: utm_content
type: string
x-nullable: true
UTMMedium:
description: utm_medium
type: string
x-nullable: true
UTMSource:
description: utm_source
type: string
x-nullable: true
UTMTerm:
description: utm_term
type: string
x-nullable: true
Website:
description: Website
type: string
x-nullable: true
type: object

View File

@ -1,196 +1,243 @@
User:
properties:
ID:
description: Record ID
type: string
APIGatewayURL:
description: API Gateway URL
type: string
x-nullable: true
APIGatewayUser:
description: API Gateway User
type: string
x-nullable: true
APIKey:
description: API Key
type: string
x-nullable: true
AboutMe:
description: About Me
type: string
x-nullable: true
AccountID:
description: Account ID
type: string
x-nullable: true
Address:
$ref: "./address.yaml#/Address"
$ref: "#/definitions/Address"
x-nullable: true
Alias:
description: Alias
type: string
x-nullable: true
Auth0UserID:
description: Auth0 User Id
type: string
x-nullable: true
CommunityNickname:
description: Nickname
type: string
x-nullable: true
CompanyName:
description: Company Name
type: string
x-nullable: true
ContactID:
description: Contact
type: string
x-nullable: true
CreatedByID:
description: Created User ID
type: string
x-nullable: true
CreatedDate:
description: Date Created
type: string
x-nullable: true
DelegatedApproverID:
description: Delegated Approver
type: string
x-nullable: true
Department:
description: Department
type: string
x-nullable: true
Division:
description: Division
type: string
x-nullable: true
Email:
description: Email address
type: string
x-nullable: true
EmployeeNumber:
description: Employee Number
type: string
x-nullable: true
EndOfDay:
description: Time day ends
type: string
x-nullable: true
Environment:
description: Environment
type: string
x-nullable: true
Extension:
description: Extension
type: string
FabricAPIKey:
description: Fabric API Key
type: string
x-nullable: true
Fax:
description: Fax
type: string
x-nullable: true
FirstName:
description: The first name
type: string
x-nullable: true
ForecastEnabled:
description: Allow Forecasting
type: boolean
x-nullable: true
FullPhotoURL:
description: Full Photo URL
type: string
x-nullable: true
GitHub:
description: GitHub
type: string
x-nullable: true
ID:
description: Record ID
type: string
IsActive:
description: Active
type: boolean
x-nullable: true
IsPortalEnabled:
description: Is the user enabled for Communities?
type: boolean
IsProfilePhotoActive:
description: Has Profile Photo
type: boolean
x-nullable: true
IsSystemControlled:
type: boolean
x-nullable: true
LastIP:
description: IP address of last login
type: string
x-nullable: true
LastLogin:
description: Last login time
type: string
x-nullable: true
LastModifiedByID:
description: Last Modified User ID
type: string
x-nullable: true
LastModifiedDate:
description: Last Modified Date
type: string
x-nullable: true
LastName:
description: The Last Name
type: string
x-nullable: true
LinkedIn:
description: LinkedIn
type: string
x-nullable: true
LoginCount:
description: Number of times user has logged in
format: int64
type: number
x-nullable: true
ManagerID:
description: Manager
type: string
x-nullable: true
MobilePhone:
description: Mobile
type: string
x-nullable: true
Name:
description: Name
type: string
x-nullable: true
OutOfOfficeMessage:
description: Out of office message
type: string
x-nullable: true
Phone:
description: Phone
type: string
x-nullable: true
PortalRole:
description: Portal Role Level
type: string
x-nullable: true
ProfileID:
description: Profile
type: string
x-nullable: true
ReceivesAdminEmails:
description: Info Emails
type: boolean
ReceivesAdminInfoEmails:
description: Admin Info Emails
type: boolean
x-nullable: true
SenderEmail:
description: Email Sender Address
type: string
x-nullable: true
SenderName:
description: Email Sender Name
type: string
Signature:
description: Email Signature
type: string
x-nullable: true
SmallPhotoURL:
description: Small Photo URL
type: string
x-nullable: true
StartOfDay:
description: The time day starts
type: string
x-nullable: true
Status:
description: Status
description: Onboarding Status
type: string
x-nullable: true
TaxnexusAccount:
description: Taxnexus Account
description: Account
type: string
x-nullable: true
TenantID:
description: Tenant ID associated with this user
type: string
x-nullable: true
TenantUsers:
items:
$ref: "./tenant-user.yaml#/TenantUser"
$ref: "#/definitions/TenantUser"
type: array
x-nullable: true
TimeZone:
description: Time Zone
type: string
x-nullable: true
Title:
description: Title
type: string
x-nullable: true
Twitter:
description: Twitter
type: string
x-nullable: true
UserRoleID:
description: Role
type: string
x-nullable: true
UserRoles:
items:
$ref: "./user-role.yaml#/UserRole"
$ref: "#/definitions/UserRole"
type: array
x-nullable: true
UserType:
description: User Type
type: string
x-nullable: true
Username:
description: Username
type: string
x-nullable: true
type: object

View File

@ -316,8 +316,8 @@ paths:
tags:
- Accounts
put:
description: Update a single account specified by accountId
operationId: putAccount
description: Update one or more accounts
operationId: putAccounts
parameters:
- $ref: "#/parameters/accountRequest"
responses:

File diff suppressed because it is too large Load Diff

View File

@ -960,87 +960,131 @@ definitions:
City:
description: City
type: string
x-nullable: true
Country:
description: Country full name
type: string
x-nullable: true
CountryCode:
description: Country Code
type: string
x-nullable: true
PostalCode:
description: Postal Code
type: string
x-nullable: true
State:
description: State full name
type: string
x-nullable: true
StateCode:
description: State Code
type: string
x-nullable: true
Street:
description: Street number and name
type: string
x-nullable: true
type: object
CompanyCategory:
properties:
CloudType:
description: The Type of Cloud Company
type: string
Count:
description: The number of companies
type: number
type: object
CompanyCategoryResponse:
description: An array of CompanyCategory objects produced in response to a request
properties:
Data:
items:
$ref: "#/definitions/CompanyCategory"
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
CompanyProduct:
description: A software product or service vended by a Company
properties:
ID:
description: Record Id
type: string
AccountID:
description: ID of the Company that owns this Product
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
type: array
items:
$ref: "#/definitions/Industry"
type: array
x-nullable: true
LastModifiedByID:
description: Last Modified By User ID
type: string
x-nullable: true
LastModifiedDate:
description: Last Modified Date
type: string
x-nullable: true
Logo:
description: Logo
type: string
x-nullable: true
Name:
description: Product Name
type: string
x-nullable: true
ProductVideoID:
description: Product Video ID
type: string
x-nullable: true
Published:
description: Published
type: boolean
x-nullable: true
SalesforceSpecific:
description: Salesforce Specific
type: boolean
x-nullable: true
Slug:
description: Slug
type: string
x-nullable: true
TagLine:
description: TagLine
type: string
x-nullable: true
URL:
description: Website
type: string
x-nullable: true
type: object
CompanyProductRequest:
description: An array of CompanyProduct objects submitted for processing
@ -1070,42 +1114,51 @@ definitions:
$ref: "#/definitions/ResponseMeta"
type: object
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:
ID:
description: Record Id
type: string
CreatedByID:
description: Created By User ID
type: string
x-nullable: true
CreatedDate:
description: Created Date
type: string
x-nullable: true
Description:
description: Topic Description
type: string
x-nullable: true
ID:
description: Record Id
type: string
LastModifiedByID:
description: Last Modified By User ID
type: string
x-nullable: true
LastModifiedDate:
description: Last Modified Date
type: string
x-nullable: true
Name:
description: Factor Name
type: string
x-nullable: true
Observations:
description: The list of Observations used to analyze this industry
items:
$ref: "#/definitions/Observation"
type: array
x-nullable: true
Slug:
description: The slug of the corresponding page on the CMS
type: string
x-nullable: true
TopicID:
description: The ID of the Topic that owns this Factor
type: string
x-nullable: true
type: object
FactorRequest:
description: An array of Factor objects submitted for processing
@ -1126,57 +1179,72 @@ definitions:
$ref: "#/definitions/ResponseMeta"
type: object
FinancialStatement:
type: object
description: A financial statement for a company
properties:
ID:
description: Record Id
type: string
AccessNumber:
description: EDGAR Access Number
type: string
x-nullable: true
AccountID:
description: Account ID
type: string
x-nullable: true
CloudRevenue:
description: Cloud Revenue
type: number
x-nullable: true
CreatedByID:
description: Created By User ID
type: string
x-nullable: true
CreatedDate:
description: Created Date
type: string
x-nullable: true
Description:
description: Description
type: string
x-nullable: true
EdgarURL:
description: EDGAR URL
type: string
x-nullable: true
FilingType:
description: Filing Type
type: string
x-nullable: true
GrossProfit:
description: Gross Profit
type: number
x-nullable: true
ID:
description: Record Id
type: string
LastModifiedByID:
description: Last Modified By User ID
type: string
x-nullable: true
LastModifiedDate:
description: Last Modified Date
type: string
x-nullable: true
NetIncome:
description: Net Income
type: number
x-nullable: true
PeriodEndDate:
description: Period End Date
type: string
x-nullable: true
TotalRevenue:
description: Total Revenue
type: number
x-nullable: true
Year:
description: Year
type: string
x-nullable: true
type: object
FinancialStatementRequest:
description: An array of FinancialStatement objects submitted for processing
properties:
@ -1198,84 +1266,107 @@ definitions:
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
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
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
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
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:
ID:
description: Record Id
type: string
AccountID:
type: string
x-nullable: true
CreatedByID:
description: Created By User ID
type: string
x-nullable: true
CreatedDate:
description: Created Date
type: string
x-nullable: true
ID:
description: Record Id
type: string
IndustryID:
type: string
x-nullable: true
LastModifiedByID:
description: Last Modified By User ID
type: string
x-nullable: true
LastModifiedDate:
description: Last Modified Date
type: string
x-nullable: true
Path:
type: string
x-nullable: true
type: object
IndustryCompanyRequest:
description: An array of IndustryCompany objects submitted for processing
@ -1300,25 +1391,32 @@ definitions:
properties:
CompanyProductID:
type: string
x-nullable: true
CreatedByID:
description: Created By User ID
type: string
x-nullable: true
CreatedDate:
description: Created Date
type: string
x-nullable: true
HTML:
type: string
x-nullable: true
ID:
description: Record Id
type: string
IndustryID:
type: string
x-nullable: true
LastModifiedByID:
description: Last Modified By User ID
type: string
x-nullable: true
LastModifiedDate:
description: Last Modified Date
type: string
x-nullable: true
type: object
IndustryProductRequest:
description: An array of IndustryProduct objects submitted for processing
@ -1378,39 +1476,49 @@ definitions:
Observation:
description: A data point collected while analyzing a Factor
properties:
ID:
description: Record Id
type: string
AccountID:
description: The ID of the Company being analyzed
type: string
x-nullable: true
CompanyProductID:
description: The ID of the Product being analyzed
type: string
x-nullable: true
CreatedByID:
description: Created By User ID
type: string
x-nullable: true
CreatedDate:
description: Created Date
type: string
x-nullable: true
Description:
description: Notes concerning data collection
type: string
x-nullable: true
FactorID:
description: The ID of the Factor that owns this Observation
type: string
x-nullable: true
ID:
description: Record Id
type: string
LastModifiedByID:
description: Last Modified By User ID
type: string
x-nullable: true
LastModifiedDate:
description: Last Modified Date
type: string
x-nullable: true
SubjectType:
description: Is the subject a Company or a Product?
type: string
x-nullable: true
Value:
description: The data point collected
type: string
x-nullable: true
type: object
ObservationRequest:
description: An array of Observation objects submitted for processing
@ -1494,38 +1602,47 @@ definitions:
Topic:
description: A research topic that collects data
properties:
ID:
description: Record Id
type: string
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
Factors:
description: The list of Factors used to analyze this industry
items:
$ref: "#/definitions/Factor"
type: array
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: Topic Name
type: string
x-nullable: true
ParentTopicID:
description: The ID of the Parent Topic
type: string
x-nullable: true
Slug:
description: The CMS Slug for this Topic
type: string
x-nullable: true
type: object
TopicRequest:
description: An array of Topic objects submitted for processing
@ -1545,22 +1662,3 @@ definitions:
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
CompanyCategory:
properties:
CloudType:
description: The Type of Cloud Company
type: string
Count:
description: The number of companies
type: number
type: object
CompanyCategoryResponse:
description: An array of CompanyCategory objects produced in response to a request
properties:
Data:
items:
$ref: "#/definitions/CompanyCategory"
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -960,87 +960,131 @@ definitions:
City:
description: City
type: string
x-nullable: true
Country:
description: Country full name
type: string
x-nullable: true
CountryCode:
description: Country Code
type: string
x-nullable: true
PostalCode:
description: Postal Code
type: string
x-nullable: true
State:
description: State full name
type: string
x-nullable: true
StateCode:
description: State Code
type: string
x-nullable: true
Street:
description: Street number and name
type: string
x-nullable: true
type: object
CompanyCategory:
properties:
CloudType:
description: The Type of Cloud Company
type: string
Count:
description: The number of companies
type: number
type: object
CompanyCategoryResponse:
description: An array of CompanyCategory objects produced in response to a request
properties:
Data:
items:
$ref: "#/definitions/CompanyCategory"
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
CompanyProduct:
description: A software product or service vended by a Company
properties:
ID:
description: Record Id
type: string
AccountID:
description: ID of the Company that owns this Product
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
type: array
items:
$ref: "#/definitions/Industry"
type: array
x-nullable: true
LastModifiedByID:
description: Last Modified By User ID
type: string
x-nullable: true
LastModifiedDate:
description: Last Modified Date
type: string
x-nullable: true
Logo:
description: Logo
type: string
x-nullable: true
Name:
description: Product Name
type: string
x-nullable: true
ProductVideoID:
description: Product Video ID
type: string
x-nullable: true
Published:
description: Published
type: boolean
x-nullable: true
SalesforceSpecific:
description: Salesforce Specific
type: boolean
x-nullable: true
Slug:
description: Slug
type: string
x-nullable: true
TagLine:
description: TagLine
type: string
x-nullable: true
URL:
description: Website
type: string
x-nullable: true
type: object
CompanyProductRequest:
description: An array of CompanyProduct objects submitted for processing
@ -1070,42 +1114,51 @@ definitions:
$ref: "#/definitions/ResponseMeta"
type: object
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:
ID:
description: Record Id
type: string
CreatedByID:
description: Created By User ID
type: string
x-nullable: true
CreatedDate:
description: Created Date
type: string
x-nullable: true
Description:
description: Topic Description
type: string
x-nullable: true
ID:
description: Record Id
type: string
LastModifiedByID:
description: Last Modified By User ID
type: string
x-nullable: true
LastModifiedDate:
description: Last Modified Date
type: string
x-nullable: true
Name:
description: Factor Name
type: string
x-nullable: true
Observations:
description: The list of Observations used to analyze this industry
items:
$ref: "#/definitions/Observation"
type: array
x-nullable: true
Slug:
description: The slug of the corresponding page on the CMS
type: string
x-nullable: true
TopicID:
description: The ID of the Topic that owns this Factor
type: string
x-nullable: true
type: object
FactorRequest:
description: An array of Factor objects submitted for processing
@ -1126,57 +1179,72 @@ definitions:
$ref: "#/definitions/ResponseMeta"
type: object
FinancialStatement:
type: object
description: A financial statement for a company
properties:
ID:
description: Record Id
type: string
AccessNumber:
description: EDGAR Access Number
type: string
x-nullable: true
AccountID:
description: Account ID
type: string
x-nullable: true
CloudRevenue:
description: Cloud Revenue
type: number
x-nullable: true
CreatedByID:
description: Created By User ID
type: string
x-nullable: true
CreatedDate:
description: Created Date
type: string
x-nullable: true
Description:
description: Description
type: string
x-nullable: true
EdgarURL:
description: EDGAR URL
type: string
x-nullable: true
FilingType:
description: Filing Type
type: string
x-nullable: true
GrossProfit:
description: Gross Profit
type: number
x-nullable: true
ID:
description: Record Id
type: string
LastModifiedByID:
description: Last Modified By User ID
type: string
x-nullable: true
LastModifiedDate:
description: Last Modified Date
type: string
x-nullable: true
NetIncome:
description: Net Income
type: number
x-nullable: true
PeriodEndDate:
description: Period End Date
type: string
x-nullable: true
TotalRevenue:
description: Total Revenue
type: number
x-nullable: true
Year:
description: Year
type: string
x-nullable: true
type: object
FinancialStatementRequest:
description: An array of FinancialStatement objects submitted for processing
properties:
@ -1198,84 +1266,107 @@ definitions:
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
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
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
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
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:
ID:
description: Record Id
type: string
AccountID:
type: string
x-nullable: true
CreatedByID:
description: Created By User ID
type: string
x-nullable: true
CreatedDate:
description: Created Date
type: string
x-nullable: true
ID:
description: Record Id
type: string
IndustryID:
type: string
x-nullable: true
LastModifiedByID:
description: Last Modified By User ID
type: string
x-nullable: true
LastModifiedDate:
description: Last Modified Date
type: string
x-nullable: true
Path:
type: string
x-nullable: true
type: object
IndustryCompanyRequest:
description: An array of IndustryCompany objects submitted for processing
@ -1300,25 +1391,32 @@ definitions:
properties:
CompanyProductID:
type: string
x-nullable: true
CreatedByID:
description: Created By User ID
type: string
x-nullable: true
CreatedDate:
description: Created Date
type: string
x-nullable: true
HTML:
type: string
x-nullable: true
ID:
description: Record Id
type: string
IndustryID:
type: string
x-nullable: true
LastModifiedByID:
description: Last Modified By User ID
type: string
x-nullable: true
LastModifiedDate:
description: Last Modified Date
type: string
x-nullable: true
type: object
IndustryProductRequest:
description: An array of IndustryProduct objects submitted for processing
@ -1378,39 +1476,49 @@ definitions:
Observation:
description: A data point collected while analyzing a Factor
properties:
ID:
description: Record Id
type: string
AccountID:
description: The ID of the Company being analyzed
type: string
x-nullable: true
CompanyProductID:
description: The ID of the Product being analyzed
type: string
x-nullable: true
CreatedByID:
description: Created By User ID
type: string
x-nullable: true
CreatedDate:
description: Created Date
type: string
x-nullable: true
Description:
description: Notes concerning data collection
type: string
x-nullable: true
FactorID:
description: The ID of the Factor that owns this Observation
type: string
x-nullable: true
ID:
description: Record Id
type: string
LastModifiedByID:
description: Last Modified By User ID
type: string
x-nullable: true
LastModifiedDate:
description: Last Modified Date
type: string
x-nullable: true
SubjectType:
description: Is the subject a Company or a Product?
type: string
x-nullable: true
Value:
description: The data point collected
type: string
x-nullable: true
type: object
ObservationRequest:
description: An array of Observation objects submitted for processing
@ -1494,38 +1602,47 @@ definitions:
Topic:
description: A research topic that collects data
properties:
ID:
description: Record Id
type: string
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
Factors:
description: The list of Factors used to analyze this industry
items:
$ref: "#/definitions/Factor"
type: array
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: Topic Name
type: string
x-nullable: true
ParentTopicID:
description: The ID of the Parent Topic
type: string
x-nullable: true
Slug:
description: The CMS Slug for this Topic
type: string
x-nullable: true
type: object
TopicRequest:
description: An array of Topic objects submitted for processing
@ -1545,22 +1662,3 @@ definitions:
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
CompanyCategory:
properties:
CloudType:
description: The Type of Cloud Company
type: string
Count:
description: The number of companies
type: number
type: object
CompanyCategoryResponse:
description: An array of CompanyCategory objects produced in response to a request
properties:
Data:
items:
$ref: "#/definitions/CompanyCategory"
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object

File diff suppressed because it is too large Load Diff