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) 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) 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 // TODO: Validate the params before sending
if params == nil { if params == nil {
params = NewPutAccountParams() params = NewPutAccountsParams()
} }
op := &runtime.ClientOperation{ op := &runtime.ClientOperation{
ID: "putAccount", ID: "putAccounts",
Method: "PUT", Method: "PUT",
PathPattern: "/accounts", PathPattern: "/accounts",
ProducesMediaTypes: []string{"application/json"}, ProducesMediaTypes: []string{"application/json"},
ConsumesMediaTypes: []string{"application/json"}, ConsumesMediaTypes: []string{"application/json"},
Schemes: []string{"http"}, Schemes: []string{"http"},
Params: params, Params: params,
Reader: &PutAccountReader{formats: a.formats}, Reader: &PutAccountsReader{formats: a.formats},
AuthInfo: authInfo, AuthInfo: authInfo,
Context: params.Context, Context: params.Context,
Client: params.HTTPClient, Client: params.HTTPClient,
@ -199,13 +199,13 @@ func (a *Client) PutAccount(params *PutAccountParams, authInfo runtime.ClientAut
if err != nil { if err != nil {
return nil, err return nil, err
} }
success, ok := result.(*PutAccountOK) success, ok := result.(*PutAccountsOK)
if ok { if ok {
return success, nil return success, nil
} }
// unexpected success response // unexpected success response
// safeguard: normally, absent a default response, unknown success responses return an error above: so this is a codegen issue // 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) 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 { type Account struct {
// Account Number // Account Number
AccountNumber string `json:"AccountNumber,omitempty"` AccountNumber *string `json:"AccountNumber,omitempty"`
// The marketing origin of this account // The marketing origin of this account
AccountSource string `json:"AccountSource,omitempty"` AccountSource *string `json:"AccountSource,omitempty"`
// active // active
Active bool `json:"Active,omitempty"` Active *bool `json:"Active,omitempty"`
// Annual Revenue Estimate // Annual Revenue Estimate
AnnualRevenue float64 `json:"AnnualRevenue,omitempty"` AnnualRevenue *float64 `json:"AnnualRevenue,omitempty"`
// billing address // billing address
BillingAddress *Address `json:"BillingAddress,omitempty"` BillingAddress *Address `json:"BillingAddress,omitempty"`
// Contact ID // Contact ID
BillingContactID string `json:"BillingContactID,omitempty"` BillingContactID *string `json:"BillingContactID,omitempty"`
// Close Date // Close Date
CloseDate string `json:"CloseDate,omitempty"` ClosedDate *string `json:"ClosedDate,omitempty"`
// cloud revenue total // cloud revenue total
CloudRevenueTotal float64 `json:"CloudRevenueTotal,omitempty"` CloudRevenueTotal *float64 `json:"CloudRevenueTotal,omitempty"`
// The type of cloud company // The type of cloud company
CloudType string `json:"CloudType,omitempty"` CloudType *string `json:"CloudType,omitempty"`
// The year company started cloud revenue // The year company started cloud revenue
CloudYear string `json:"CloudYear,omitempty"` CloudYear *string `json:"CloudYear,omitempty"`
// Created By User ID // Created By User ID
CreatedByID string `json:"CreatedByID,omitempty"` CreatedByID *string `json:"CreatedByID,omitempty"`
// Created Date // Created Date
CreatedDate string `json:"CreatedDate,omitempty"` CreatedDate *string `json:"CreatedDate,omitempty"`
// Crunchbase URL // Crunchbase URL
CrunchbaseURL string `json:"CrunchbaseURL,omitempty"` CrunchbaseURL *string `json:"CrunchbaseURL,omitempty"`
// Description of the account // Description of the account
Description string `json:"Description,omitempty"` Description *string `json:"Description,omitempty"`
// e i n // e i n
EIN string `json:"EIN,omitempty"` EIN *string `json:"EIN,omitempty"`
// Earnings Call Date // Earnings Call Date
EarningsCall string `json:"EarningsCall,omitempty"` EarningsCall *string `json:"EarningsCall,omitempty"`
// Main Account Email // Main Account Email
Email string `json:"Email,omitempty"` Email *string `json:"Email,omitempty"`
// The amount of equity EquityFunding // The amount of equity EquityFunding
EquityFunding float64 `json:"EquityFunding,omitempty"` EquityFunding *float64 `json:"EquityFunding,omitempty"`
// Company Facebook URL // Company Facebook URL
Facebook string `json:"Facebook,omitempty"` Facebook *string `json:"Facebook,omitempty"`
// Fax number // Fax number
Fax string `json:"Fax,omitempty"` Fax *string `json:"Fax,omitempty"`
// Date company founded // Date company founded
FoundedDate string `json:"FoundedDate,omitempty"` FoundedDate *string `json:"FoundedDate,omitempty"`
// Account Id // Account Id
ID string `json:"ID,omitempty"` ID string `json:"ID,omitempty"`
// IPO Date // IPO Date
IPODate string `json:"IPODate,omitempty"` IPODate *string `json:"IPODate,omitempty"`
// image alt text // image alt text
ImageAltText string `json:"ImageAltText,omitempty"` ImageAltText *string `json:"ImageAltText,omitempty"`
// image URL // image URL
ImageURL string `json:"ImageURL,omitempty"` ImageURL *string `json:"ImageURL,omitempty"`
// Industries // Industries
Industries string `json:"Industries,omitempty"` Industries *string `json:"Industries,omitempty"`
// Industry // Industry
Industry string `json:"Industry,omitempty"` Industry *string `json:"Industry,omitempty"`
// Last Modified By User ID // Last Modified By User ID
LastModifiedByID string `json:"LastModifiedByID,omitempty"` LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
// Last Modified Date // Last Modified Date
LastModifiedDate string `json:"LastModifiedDate,omitempty"` LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
// Company LinkedIn URL // Company LinkedIn URL
LinkedIn string `json:"LinkedIn,omitempty"` LinkedIn *string `json:"LinkedIn,omitempty"`
// Headquarters Location Description // Headquarters Location Description
Location string `json:"Location,omitempty"` Location *string `json:"Location,omitempty"`
// Company Logo URL // Company Logo URL
Logo string `json:"Logo,omitempty"` Logo *string `json:"Logo,omitempty"`
// Market Capitalization // Market Capitalization
MarketCapitalization float64 `json:"MarketCapitalization,omitempty"` MarketCapitalization *float64 `json:"MarketCapitalization,omitempty"`
// Account Name // Account Name
Name string `json:"Name,omitempty"` Name *string `json:"Name,omitempty"`
// Number of Investments // Number of Investments
NumberInvestments float64 `json:"NumberInvestments,omitempty"` NumberInvestments *float64 `json:"NumberInvestments,omitempty"`
// Employee Count Estimate // Employee Count Estimate
NumberOfEmployees int64 `json:"NumberOfEmployees,omitempty"` NumberOfEmployees *int64 `json:"NumberOfEmployees,omitempty"`
// Account Owner User ID // Account Owner User ID
OwnerID string `json:"OwnerID,omitempty"` OwnerID *string `json:"OwnerID,omitempty"`
// Ownership // Ownership
Ownership string `json:"Ownership,omitempty"` Ownership *string `json:"Ownership,omitempty"`
// Parent Account // Parent Account
ParentID string `json:"ParentID,omitempty"` ParentID *string `json:"ParentID,omitempty"`
// Phone // Phone
Phone string `json:"Phone,omitempty"` Phone *string `json:"Phone,omitempty"`
// Publish this record? // Publish this record?
Publish bool `json:"Publish,omitempty"` Publish *bool `json:"Publish,omitempty"`
// SIC Code // SIC Code
SIC string `json:"SIC,omitempty"` SIC *string `json:"SIC,omitempty"`
// SIC Description // SIC Description
SICDesc string `json:"SICDesc,omitempty"` SICDesc *string `json:"SICDesc,omitempty"`
// A Salesforce-First company? // A Salesforce-First company?
SalesforceFirst bool `json:"SalesforceFirst,omitempty"` SalesforceFirst *bool `json:"SalesforceFirst,omitempty"`
// shipping address // shipping address
ShippingAddress *Address `json:"ShippingAddress,omitempty"` ShippingAddress *Address `json:"ShippingAddress,omitempty"`
// Shipping Contact ID // Shipping Contact ID
ShippingContactID string `json:"ShippingContactID,omitempty"` ShippingContactID *string `json:"ShippingContactID,omitempty"`
// Account Site // Account Site
Site string `json:"Site,omitempty"` Site *string `json:"Site,omitempty"`
// Slug // Slug
Slug string `json:"Slug,omitempty"` Slug *string `json:"Slug,omitempty"`
// Company tagline // Company tagline
TagLine string `json:"TagLine,omitempty"` TagLine *string `json:"TagLine,omitempty"`
// Tenant Identifier // Tenant Identifier
TenantID string `json:"TenantID,omitempty"` TenantID *string `json:"TenantID,omitempty"`
// Ticker Symbol // Ticker Symbol
TickerSymbol string `json:"TickerSymbol,omitempty"` TickerSymbol *string `json:"TickerSymbol,omitempty"`
// Twitter URL // Twitter URL
Twitter string `json:"Twitter,omitempty"` Twitter *string `json:"Twitter,omitempty"`
// Type // Type
Type string `json:"Type,omitempty"` Type *string `json:"Type,omitempty"`
// Website // Website
Website string `json:"Website,omitempty"` Website *string `json:"Website,omitempty"`
// Year Started // Year Started
YearStarted string `json:"YearStarted,omitempty"` YearStarted *string `json:"YearStarted,omitempty"`
} }
// Validate validates this account // Validate validates this account

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -29,7 +29,7 @@ type ClerkUser struct {
BackupCodes []string `json:"backup_codes"` 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`). // 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. // Email addresses to add to the user.
// Must be unique across your instance. // 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. // The ID of the user as used in your external systems or your previous authentication solution.
// Must be unique across your instance. // 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 // 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 // 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. // The plaintext password to give the user.
// Must be at least 8 characters long, and can not be in any list of hacked passwords. // 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. // 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 digests should be generated with one of the supported algorithms.
// The hashing algorithm can be specified using the `password_hasher` property. // 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 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. // 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). // 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] // 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. // Phone numbers to add to the user.
// Must be unique across your instance. // Must be unique across your instance.
@ -156,7 +156,7 @@ type ClerkUser struct {
// * Period: 30 seconds // * Period: 30 seconds
// * Code length: 6 digits // * Code length: 6 digits
// * Algorithm: SHA1 // * 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. // 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. // 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. // The username to give to the user.
// It must be unique across your instance. // It must be unique across your instance.
Username string `json:"username,omitempty"` Username *string `json:"username,omitempty"`
// Web3 wallets to add to the user. // Web3 wallets to add to the user.
// Must be unique across your instance. // Must be unique across your instance.
@ -239,7 +239,7 @@ func (m *ClerkUser) validatePasswordHasher(formats strfmt.Registry) error {
} }
// value enum // 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 return err
} }

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -24,16 +24,16 @@ import (
type Tenant struct { type Tenant struct {
// The Account that owns this Tenant // The Account that owns this Tenant
AccountID string `json:"AccountID,omitempty"` AccountID *string `json:"AccountID,omitempty"`
// Is this Tenant currently active? // Is this Tenant currently active?
Active bool `json:"Active,omitempty"` Active *bool `json:"Active,omitempty"`
// Created By // Created By
CreatedByID string `json:"CreatedByID,omitempty"` CreatedByID *string `json:"CreatedByID,omitempty"`
// Created Date // Created Date
CreatedDate string `json:"CreatedDate,omitempty"` CreatedDate *string `json:"CreatedDate,omitempty"`
// databases // databases
Databases []*Database `json:"Databases"` Databases []*Database `json:"Databases"`
@ -42,28 +42,28 @@ type Tenant struct {
ID string `json:"ID,omitempty"` ID string `json:"ID,omitempty"`
// Last Modified By // Last Modified By
LastModifiedByID string `json:"LastModifiedByID,omitempty"` LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
// Last Modifed Date // Last Modifed Date
LastModifiedDate string `json:"LastModifiedDate,omitempty"` LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
// roles // roles
Roles []*Role `json:"Roles"` Roles []*Role `json:"Roles"`
// The current status of this Tenant // The current status of this Tenant
Status string `json:"Status,omitempty"` Status *string `json:"Status,omitempty"`
// Name of the Tenant Resource // Name of the Tenant Resource
TenantName string `json:"TenantName,omitempty"` TenantName *string `json:"TenantName,omitempty"`
// tenant users // tenant users
TenantUsers []*TenantUser `json:"TenantUsers"` TenantUsers []*TenantUser `json:"TenantUsers"`
// The type of Tenant // 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 // 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 // Validate validates this tenant

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -12,10 +12,8 @@ package sfgate_models
import ( import (
"context" "context"
"github.com/go-openapi/errors"
"github.com/go-openapi/strfmt" "github.com/go-openapi/strfmt"
"github.com/go-openapi/swag" "github.com/go-openapi/swag"
"github.com/go-openapi/validate"
) )
// RequestMeta request meta // RequestMeta request meta
@ -24,30 +22,11 @@ import (
type RequestMeta struct { type RequestMeta struct {
// Account Number of the Reseller or OEM // Account Number of the Reseller or OEM
// Required: true TaxnexusAccount string `json:"TaxnexusAccount,omitempty"`
TaxnexusAccount *string `json:"TaxnexusAccount"`
} }
// Validate validates this request meta // Validate validates this request meta
func (m *RequestMeta) Validate(formats strfmt.Registry) error { 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 return nil
} }

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -2,85 +2,112 @@ Lead:
properties: properties:
Address: Address:
$ref: "./address.yaml#/Address" $ref: "./address.yaml#/Address"
x-nullable: true
Company: Company:
description: Company description: Company
type: string type: string
x-nullable: true
CreatedByID: CreatedByID:
description: Created By User ID description: Created By User ID
type: string type: string
x-nullable: true
CreatedDate: CreatedDate:
description: Created Date description: Created Date
type: string type: string
x-nullable: true
Description: Description:
description: Description description: Description
type: string type: string
x-nullable: true
Email: Email:
description: Email description: Email
type: string type: string
x-nullable: true
FirstName: FirstName:
description: First Name description: First Name
type: string type: string
x-nullable: true
ID: ID:
description: Record Id description: Record Id
type: string type: string
LastModifiedByID: LastModifiedByID:
description: Last Modified By User ID description: Last Modified By User ID
type: string type: string
x-nullable: true
LastModifiedDate: LastModifiedDate:
description: Last Modified Date description: Last Modified Date
type: string type: string
x-nullable: true
LastName: LastName:
description: Last Name description: Last Name
type: string type: string
x-nullable: true
MobilePhone: MobilePhone:
description: Mobile description: Mobile
type: string type: string
x-nullable: true
Name: Name:
description: Name description: Name
type: string type: string
x-nullable: true
OwnerId: OwnerId:
description: LeadBasic Owner description: LeadBasic Owner
type: string type: string
x-nullable: true
PartnerAccountId: PartnerAccountId:
description: Partner Account description: Partner Account
type: string type: string
x-nullable: true
Phone: Phone:
description: Phone description: Phone
type: string type: string
x-nullable: true
ProductID: ProductID:
description: Product description: Product
type: string type: string
x-nullable: true
RefererURL: RefererURL:
description: referer_url description: referer_url
type: string type: string
x-nullable: true
Status: Status:
description: LeadBasic Status description: LeadBasic Status
type: string type: string
x-nullable: true
TenantID: TenantID:
description: Tenant Identifier description: Tenant Identifier
type: string type: string
x-nullable: true
Title: Title:
description: Title description: Title
type: string type: string
x-nullable: true
Type: Type:
description: Type description: Type
type: string type: string
x-nullable: true
UTMCampaign: UTMCampaign:
description: utm_campaign description: utm_campaign
type: string type: string
x-nullable: true
UTMContent: UTMContent:
description: utm_content description: utm_content
type: string type: string
x-nullable: true
UTMMedium: UTMMedium:
description: utm_medium description: utm_medium
type: string type: string
x-nullable: true
UTMSource: UTMSource:
description: utm_source description: utm_source
type: string type: string
x-nullable: true
UTMTerm: UTMTerm:
description: utm_term description: utm_term
type: string type: string
x-nullable: true
Website: Website:
description: Website description: Website
type: string type: string
x-nullable: true
type: object type: object

View File

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

View File

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

File diff suppressed because it is too large Load Diff

View File

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