diff --git a/api/crm/crm_client/accounts/accounts_client.go b/api/crm/crm_client/accounts/accounts_client.go index f8edd9d..6dd587d 100644 --- a/api/crm/crm_client/accounts/accounts_client.go +++ b/api/crm/crm_client/accounts/accounts_client.go @@ -40,7 +40,7 @@ type ClientService interface { PostAccounts(params *PostAccountsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAccountsOK, error) - PutAccount(params *PutAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutAccountOK, error) + PutAccounts(params *PutAccountsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutAccountsOK, error) SetTransport(transport runtime.ClientTransport) } @@ -169,24 +169,24 @@ func (a *Client) PostAccounts(params *PostAccountsParams, authInfo runtime.Clien } /* -PutAccount updates a single account +PutAccounts updates a single account -Update a single account specified by accountId +Update one or more accounts */ -func (a *Client) PutAccount(params *PutAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutAccountOK, error) { +func (a *Client) PutAccounts(params *PutAccountsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutAccountsOK, error) { // TODO: Validate the params before sending if params == nil { - params = NewPutAccountParams() + params = NewPutAccountsParams() } op := &runtime.ClientOperation{ - ID: "putAccount", + ID: "putAccounts", Method: "PUT", PathPattern: "/accounts", ProducesMediaTypes: []string{"application/json"}, ConsumesMediaTypes: []string{"application/json"}, Schemes: []string{"http"}, Params: params, - Reader: &PutAccountReader{formats: a.formats}, + Reader: &PutAccountsReader{formats: a.formats}, AuthInfo: authInfo, Context: params.Context, Client: params.HTTPClient, @@ -199,13 +199,13 @@ func (a *Client) PutAccount(params *PutAccountParams, authInfo runtime.ClientAut if err != nil { return nil, err } - success, ok := result.(*PutAccountOK) + success, ok := result.(*PutAccountsOK) if ok { return success, nil } // unexpected success response // safeguard: normally, absent a default response, unknown success responses return an error above: so this is a codegen issue - msg := fmt.Sprintf("unexpected success response for putAccount: API contract not enforced by server. Client expected to get an error, but got: %T", result) + msg := fmt.Sprintf("unexpected success response for putAccounts: API contract not enforced by server. Client expected to get an error, but got: %T", result) panic(msg) } diff --git a/api/crm/crm_client/accounts/put_account_parameters.go b/api/crm/crm_client/accounts/put_account_parameters.go deleted file mode 100644 index 2c2abdf..0000000 --- a/api/crm/crm_client/accounts/put_account_parameters.go +++ /dev/null @@ -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 -} diff --git a/api/crm/crm_client/accounts/put_account_responses.go b/api/crm/crm_client/accounts/put_account_responses.go deleted file mode 100644 index 3dc37d8..0000000 --- a/api/crm/crm_client/accounts/put_account_responses.go +++ /dev/null @@ -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 -} diff --git a/api/crm/crm_client/accounts/put_accounts_parameters.go b/api/crm/crm_client/accounts/put_accounts_parameters.go new file mode 100644 index 0000000..8601058 --- /dev/null +++ b/api/crm/crm_client/accounts/put_accounts_parameters.go @@ -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 +} diff --git a/api/crm/crm_client/accounts/put_accounts_responses.go b/api/crm/crm_client/accounts/put_accounts_responses.go new file mode 100644 index 0000000..c72e399 --- /dev/null +++ b/api/crm/crm_client/accounts/put_accounts_responses.go @@ -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 +} diff --git a/api/crm/crm_models/account.go b/api/crm/crm_models/account.go index 798ce79..8d12250 100644 --- a/api/crm/crm_models/account.go +++ b/api/crm/crm_models/account.go @@ -23,169 +23,169 @@ import ( type Account struct { // Account Number - AccountNumber string `json:"AccountNumber,omitempty"` + AccountNumber *string `json:"AccountNumber,omitempty"` // The marketing origin of this account - AccountSource string `json:"AccountSource,omitempty"` + AccountSource *string `json:"AccountSource,omitempty"` // active - Active bool `json:"Active,omitempty"` + Active *bool `json:"Active,omitempty"` // Annual Revenue Estimate - AnnualRevenue float64 `json:"AnnualRevenue,omitempty"` + AnnualRevenue *float64 `json:"AnnualRevenue,omitempty"` // billing address BillingAddress *Address `json:"BillingAddress,omitempty"` // Contact ID - BillingContactID string `json:"BillingContactID,omitempty"` + BillingContactID *string `json:"BillingContactID,omitempty"` // Close Date - CloseDate string `json:"CloseDate,omitempty"` + ClosedDate *string `json:"ClosedDate,omitempty"` // cloud revenue total - CloudRevenueTotal float64 `json:"CloudRevenueTotal,omitempty"` + CloudRevenueTotal *float64 `json:"CloudRevenueTotal,omitempty"` // The type of cloud company - CloudType string `json:"CloudType,omitempty"` + CloudType *string `json:"CloudType,omitempty"` // The year company started cloud revenue - CloudYear string `json:"CloudYear,omitempty"` + CloudYear *string `json:"CloudYear,omitempty"` // Created By User ID - CreatedByID string `json:"CreatedByID,omitempty"` + CreatedByID *string `json:"CreatedByID,omitempty"` // Created Date - CreatedDate string `json:"CreatedDate,omitempty"` + CreatedDate *string `json:"CreatedDate,omitempty"` // Crunchbase URL - CrunchbaseURL string `json:"CrunchbaseURL,omitempty"` + CrunchbaseURL *string `json:"CrunchbaseURL,omitempty"` // Description of the account - Description string `json:"Description,omitempty"` + Description *string `json:"Description,omitempty"` // e i n - EIN string `json:"EIN,omitempty"` + EIN *string `json:"EIN,omitempty"` // Earnings Call Date - EarningsCall string `json:"EarningsCall,omitempty"` + EarningsCall *string `json:"EarningsCall,omitempty"` // Main Account Email - Email string `json:"Email,omitempty"` + Email *string `json:"Email,omitempty"` // The amount of equity EquityFunding - EquityFunding float64 `json:"EquityFunding,omitempty"` + EquityFunding *float64 `json:"EquityFunding,omitempty"` // Company Facebook URL - Facebook string `json:"Facebook,omitempty"` + Facebook *string `json:"Facebook,omitempty"` // Fax number - Fax string `json:"Fax,omitempty"` + Fax *string `json:"Fax,omitempty"` // Date company founded - FoundedDate string `json:"FoundedDate,omitempty"` + FoundedDate *string `json:"FoundedDate,omitempty"` // Account Id ID string `json:"ID,omitempty"` // IPO Date - IPODate string `json:"IPODate,omitempty"` + IPODate *string `json:"IPODate,omitempty"` // image alt text - ImageAltText string `json:"ImageAltText,omitempty"` + ImageAltText *string `json:"ImageAltText,omitempty"` // image URL - ImageURL string `json:"ImageURL,omitempty"` + ImageURL *string `json:"ImageURL,omitempty"` // Industries - Industries string `json:"Industries,omitempty"` + Industries *string `json:"Industries,omitempty"` // Industry - Industry string `json:"Industry,omitempty"` + Industry *string `json:"Industry,omitempty"` // Last Modified By User ID - LastModifiedByID string `json:"LastModifiedByID,omitempty"` + LastModifiedByID *string `json:"LastModifiedByID,omitempty"` // Last Modified Date - LastModifiedDate string `json:"LastModifiedDate,omitempty"` + LastModifiedDate *string `json:"LastModifiedDate,omitempty"` // Company LinkedIn URL - LinkedIn string `json:"LinkedIn,omitempty"` + LinkedIn *string `json:"LinkedIn,omitempty"` // Headquarters Location Description - Location string `json:"Location,omitempty"` + Location *string `json:"Location,omitempty"` // Company Logo URL - Logo string `json:"Logo,omitempty"` + Logo *string `json:"Logo,omitempty"` // Market Capitalization - MarketCapitalization float64 `json:"MarketCapitalization,omitempty"` + MarketCapitalization *float64 `json:"MarketCapitalization,omitempty"` // Account Name - Name string `json:"Name,omitempty"` + Name *string `json:"Name,omitempty"` // Number of Investments - NumberInvestments float64 `json:"NumberInvestments,omitempty"` + NumberInvestments *float64 `json:"NumberInvestments,omitempty"` // Employee Count Estimate - NumberOfEmployees int64 `json:"NumberOfEmployees,omitempty"` + NumberOfEmployees *int64 `json:"NumberOfEmployees,omitempty"` // Account Owner User ID - OwnerID string `json:"OwnerID,omitempty"` + OwnerID *string `json:"OwnerID,omitempty"` // Ownership - Ownership string `json:"Ownership,omitempty"` + Ownership *string `json:"Ownership,omitempty"` // Parent Account - ParentID string `json:"ParentID,omitempty"` + ParentID *string `json:"ParentID,omitempty"` // Phone - Phone string `json:"Phone,omitempty"` + Phone *string `json:"Phone,omitempty"` // Publish this record? - Publish bool `json:"Publish,omitempty"` + Publish *bool `json:"Publish,omitempty"` // SIC Code - SIC string `json:"SIC,omitempty"` + SIC *string `json:"SIC,omitempty"` // SIC Description - SICDesc string `json:"SICDesc,omitempty"` + SICDesc *string `json:"SICDesc,omitempty"` // A Salesforce-First company? - SalesforceFirst bool `json:"SalesforceFirst,omitempty"` + SalesforceFirst *bool `json:"SalesforceFirst,omitempty"` // shipping address ShippingAddress *Address `json:"ShippingAddress,omitempty"` // Shipping Contact ID - ShippingContactID string `json:"ShippingContactID,omitempty"` + ShippingContactID *string `json:"ShippingContactID,omitempty"` // Account Site - Site string `json:"Site,omitempty"` + Site *string `json:"Site,omitempty"` // Slug - Slug string `json:"Slug,omitempty"` + Slug *string `json:"Slug,omitempty"` // Company tagline - TagLine string `json:"TagLine,omitempty"` + TagLine *string `json:"TagLine,omitempty"` // Tenant Identifier - TenantID string `json:"TenantID,omitempty"` + TenantID *string `json:"TenantID,omitempty"` // Ticker Symbol - TickerSymbol string `json:"TickerSymbol,omitempty"` + TickerSymbol *string `json:"TickerSymbol,omitempty"` // Twitter URL - Twitter string `json:"Twitter,omitempty"` + Twitter *string `json:"Twitter,omitempty"` // Type - Type string `json:"Type,omitempty"` + Type *string `json:"Type,omitempty"` // Website - Website string `json:"Website,omitempty"` + Website *string `json:"Website,omitempty"` // Year Started - YearStarted string `json:"YearStarted,omitempty"` + YearStarted *string `json:"YearStarted,omitempty"` } // Validate validates this account diff --git a/api/crm/crm_models/address.go b/api/crm/crm_models/address.go index 44c1e35..3e92bd8 100644 --- a/api/crm/crm_models/address.go +++ b/api/crm/crm_models/address.go @@ -22,25 +22,25 @@ import ( type Address struct { // City - City string `json:"City,omitempty"` + City *string `json:"City,omitempty"` // Country full name - Country string `json:"Country,omitempty"` + Country *string `json:"Country,omitempty"` // Country Code - CountryCode string `json:"CountryCode,omitempty"` + CountryCode *string `json:"CountryCode,omitempty"` // Postal Code - PostalCode string `json:"PostalCode,omitempty"` + PostalCode *string `json:"PostalCode,omitempty"` // State full name - State string `json:"State,omitempty"` + State *string `json:"State,omitempty"` // State Code - StateCode string `json:"StateCode,omitempty"` + StateCode *string `json:"StateCode,omitempty"` // Street number and name - Street string `json:"Street,omitempty"` + Street *string `json:"Street,omitempty"` } // Validate validates this address diff --git a/api/crm/crm_models/asset.go b/api/crm/crm_models/asset.go index 72dd48d..125406c 100644 --- a/api/crm/crm_models/asset.go +++ b/api/crm/crm_models/asset.go @@ -23,142 +23,142 @@ import ( type Asset struct { // Account - AccountID string `json:"AccountID,omitempty"` + AccountID *string `json:"AccountID,omitempty"` // address Address *Address `json:"Address,omitempty"` // Asset Level - AssetLevel float64 `json:"AssetLevel,omitempty"` + AssetLevel *float64 `json:"AssetLevel,omitempty"` // Asset Provided By - AssetProvidedByID string `json:"AssetProvidedByID,omitempty"` + AssetProvidedByID *string `json:"AssetProvidedByID,omitempty"` // Asset Serviced By - AssetServicedByID string `json:"AssetServicedByID,omitempty"` + AssetServicedByID *string `json:"AssetServicedByID,omitempty"` // Company Product - CompanyProductID string `json:"CompanyProductID,omitempty"` + CompanyProductID *string `json:"CompanyProductID,omitempty"` // Consequence Of Failure - ConsequenceOfFailure string `json:"ConsequenceOfFailure,omitempty"` + ConsequenceOfFailure *string `json:"ConsequenceOfFailure,omitempty"` // Contact - ContactID string `json:"ContactID,omitempty"` + ContactID *string `json:"ContactID,omitempty"` // Created By - CreatedByID string `json:"CreatedByID,omitempty"` + CreatedByID *string `json:"CreatedByID,omitempty"` // Created Date - CreatedDate string `json:"CreatedDate,omitempty"` + CreatedDate *string `json:"CreatedDate,omitempty"` // Current Amount - CurrentAmount float64 `json:"CurrentAmount,omitempty"` + CurrentAmount *float64 `json:"CurrentAmount,omitempty"` // Current Lifecycle End Date - CurrentLifecycleEndDate string `json:"CurrentLifecycleEndDate,omitempty"` + CurrentLifecycleEndDate *string `json:"CurrentLifecycleEndDate,omitempty"` // Current Monthly Recurring Revenue - CurrentMrr float64 `json:"CurrentMrr,omitempty"` + CurrentMrr *float64 `json:"CurrentMrr,omitempty"` // Current Quantity - CurrentQuantity float64 `json:"CurrentQuantity,omitempty"` + CurrentQuantity *float64 `json:"CurrentQuantity,omitempty"` // Description - Description string `json:"Description,omitempty"` + Description *string `json:"Description,omitempty"` // Digital Asset Status - DigitalAssetStatus string `json:"DigitalAssetStatus,omitempty"` + DigitalAssetStatus *string `json:"DigitalAssetStatus,omitempty"` // External Id - ExternalIdentifier string `json:"ExternalIdentifier,omitempty"` + ExternalIdentifier *string `json:"ExternalIdentifier,omitempty"` // Has Lifecycle Management - HasLifecycleManagement bool `json:"HasLifecycleManagement,omitempty"` + HasLifecycleManagement *bool `json:"HasLifecycleManagement,omitempty"` // Record Id ID string `json:"ID,omitempty"` // Install Date - InstallDate string `json:"InstallDate,omitempty"` + InstallDate *string `json:"InstallDate,omitempty"` // Competitor Asset - IsCompetitorProduct bool `json:"IsCompetitorProduct,omitempty"` + IsCompetitorProduct *bool `json:"IsCompetitorProduct,omitempty"` // Internal Asset - IsInternal bool `json:"IsInternal,omitempty"` + IsInternal *bool `json:"IsInternal,omitempty"` // Last Modified By - LastModifiedByID string `json:"LastModifiedByID,omitempty"` + LastModifiedByID *string `json:"LastModifiedByID,omitempty"` // Last Modified Date - LastModifiedDate string `json:"LastModifiedDate,omitempty"` + LastModifiedDate *string `json:"LastModifiedDate,omitempty"` // Location - LocationID string `json:"LocationID,omitempty"` + LocationID *string `json:"LocationID,omitempty"` // MIME Type - MIMEType string `json:"MIMEType,omitempty"` + MIMEType *string `json:"MIMEType,omitempty"` // Manufacture Date - ManufactureDate string `json:"ManufactureDate,omitempty"` + ManufactureDate *string `json:"ManufactureDate,omitempty"` // Asset Name - Name string `json:"Name,omitempty"` + Name *string `json:"Name,omitempty"` // Parent Asset - ParentID string `json:"ParentID,omitempty"` + ParentID *string `json:"ParentID,omitempty"` // Price - Price float64 `json:"Price,omitempty"` + Price *float64 `json:"Price,omitempty"` // Product - Product2ID string `json:"Product2ID,omitempty"` + Product2ID *string `json:"Product2ID,omitempty"` // Product Code - ProductCode string `json:"ProductCode,omitempty"` + ProductCode *string `json:"ProductCode,omitempty"` // Product Description - ProductDescription string `json:"ProductDescription,omitempty"` + ProductDescription *string `json:"ProductDescription,omitempty"` // Product Family - ProductFamily string `json:"ProductFamily,omitempty"` + ProductFamily *string `json:"ProductFamily,omitempty"` // Purchase Date - PurchaseDate string `json:"PurchaseDate,omitempty"` + PurchaseDate *string `json:"PurchaseDate,omitempty"` // Quantity - Quantity float64 `json:"Quantity,omitempty"` + Quantity *float64 `json:"Quantity,omitempty"` // Root Asset - RootAssetID string `json:"RootAssetID,omitempty"` + RootAssetID *string `json:"RootAssetID,omitempty"` // Serial Number - SerialNumber string `json:"SerialNumber,omitempty"` + SerialNumber *string `json:"SerialNumber,omitempty"` // Status - Status string `json:"Status,omitempty"` + Status *string `json:"Status,omitempty"` // Status Reason - StatusReason string `json:"StatusReason,omitempty"` + StatusReason *string `json:"StatusReason,omitempty"` // Product SKU - StockKeepingUnit string `json:"StockKeepingUnit,omitempty"` + StockKeepingUnit *string `json:"StockKeepingUnit,omitempty"` // Tenant ID - TenantID string `json:"TenantID,omitempty"` + TenantID *string `json:"TenantID,omitempty"` // Total Lifecycle Amount - TotalLifecycleAmount float64 `json:"TotalLifecycleAmount,omitempty"` + TotalLifecycleAmount *float64 `json:"TotalLifecycleAmount,omitempty"` // Type - Type string `json:"Type,omitempty"` + Type *string `json:"Type,omitempty"` // URL - URL string `json:"URL,omitempty"` + URL *string `json:"URL,omitempty"` // Usage End Date - UsageEndDate string `json:"UsageEndDate,omitempty"` + UsageEndDate *string `json:"UsageEndDate,omitempty"` } // Validate validates this asset diff --git a/api/crm/crm_models/contact.go b/api/crm/crm_models/contact.go index 2dfa420..bf80faa 100644 --- a/api/crm/crm_models/contact.go +++ b/api/crm/crm_models/contact.go @@ -23,130 +23,130 @@ import ( type Contact struct { // The primary account ID of this contact - AccountID string `json:"AccountID,omitempty"` + AccountID *string `json:"AccountID,omitempty"` // Assistant Name - AssistantName string `json:"AssistantName,omitempty"` + AssistantName *string `json:"AssistantName,omitempty"` // Asst. Phone - AssistantPhone string `json:"AssistantPhone,omitempty"` + AssistantPhone *string `json:"AssistantPhone,omitempty"` // Birthdate - BirthDate string `json:"BirthDate,omitempty"` + BirthDate *string `json:"BirthDate,omitempty"` // Created By User ID - CreatedByID string `json:"CreatedByID,omitempty"` + CreatedByID *string `json:"CreatedByID,omitempty"` // Created Date - CreatedDate string `json:"CreatedDate,omitempty"` + CreatedDate *string `json:"CreatedDate,omitempty"` // crunchbase URL - CrunchbaseURL string `json:"CrunchbaseURL,omitempty"` + CrunchbaseURL *string `json:"CrunchbaseURL,omitempty"` // Department - Department string `json:"Department,omitempty"` + Department *string `json:"Department,omitempty"` // Description - Description string `json:"Description,omitempty"` + Description *string `json:"Description,omitempty"` // Do Not Call? - DoNotCall bool `json:"DoNotCall,omitempty"` + DoNotCall *bool `json:"DoNotCall,omitempty"` // Email address - Email string `json:"Email,omitempty"` + Email *string `json:"Email,omitempty"` // Email Bounce Date - EmailBounceDate string `json:"EmailBounceDate,omitempty"` + EmailBounceDate *string `json:"EmailBounceDate,omitempty"` // Email Bounce Reason - EmailBouncedReason string `json:"EmailBouncedReason,omitempty"` + EmailBouncedReason *string `json:"EmailBouncedReason,omitempty"` // Facebook Page - Facebook string `json:"Facebook,omitempty"` + Facebook *string `json:"Facebook,omitempty"` // Fax Number - Fax string `json:"Fax,omitempty"` + Fax *string `json:"Fax,omitempty"` // First Name - FirstName string `json:"FirstName,omitempty"` + FirstName *string `json:"FirstName,omitempty"` // Email Opt Out - HasOptedOutOfEmail bool `json:"HasOptedOutOfEmail,omitempty"` + HasOptedOutOfEmail *bool `json:"HasOptedOutOfEmail,omitempty"` // Fax Opt Out - HasOptedOutOfFax bool `json:"HasOptedOutOfFax,omitempty"` + HasOptedOutOfFax *bool `json:"HasOptedOutOfFax,omitempty"` // Home Phone - HomePhone string `json:"HomePhone,omitempty"` + HomePhone *string `json:"HomePhone,omitempty"` // Record Id ID string `json:"ID,omitempty"` // Does this contact have bounced emails? - IsEmailBounced bool `json:"IsEmailBounced,omitempty"` + IsEmailBounced *bool `json:"IsEmailBounced,omitempty"` // Last Modified By User ID - LastModifiedByID string `json:"LastModifiedByID,omitempty"` + LastModifiedByID *string `json:"LastModifiedByID,omitempty"` // Last Modified Date - LastModifiedDate string `json:"LastModifiedDate,omitempty"` + LastModifiedDate *string `json:"LastModifiedDate,omitempty"` // Last Name - LastName string `json:"LastName,omitempty"` + LastName *string `json:"LastName,omitempty"` // Lead Source - LeadSource string `json:"LeadSource,omitempty"` + LeadSource *string `json:"LeadSource,omitempty"` // LinkedIn Page - LinkedIn string `json:"LinkedIn,omitempty"` + LinkedIn *string `json:"LinkedIn,omitempty"` // mailing address MailingAddress *Address `json:"MailingAddress,omitempty"` // Mobile Phone - MobilePhone string `json:"MobilePhone,omitempty"` + MobilePhone *string `json:"MobilePhone,omitempty"` // Full Name - Name string `json:"Name,omitempty"` + Name *string `json:"Name,omitempty"` // number investments - NumberInvestments float64 `json:"NumberInvestments,omitempty"` + NumberInvestments *float64 `json:"NumberInvestments,omitempty"` // other address OtherAddress *Address `json:"OtherAddress,omitempty"` // Other Phone - OtherPhone string `json:"OtherPhone,omitempty"` + OtherPhone *string `json:"OtherPhone,omitempty"` // The User ID of the user who owns this Contact - OwnerID string `json:"OwnerID,omitempty"` + OwnerID *string `json:"OwnerID,omitempty"` // Personal Email Address for this Contact - PersonalEmail string `json:"PersonalEmail,omitempty"` + PersonalEmail *string `json:"PersonalEmail,omitempty"` // Phone Number - Phone string `json:"Phone,omitempty"` + Phone *string `json:"Phone,omitempty"` // URL of a photograph of this User - PhotoURL string `json:"PhotoURL,omitempty"` + PhotoURL *string `json:"PhotoURL,omitempty"` // Reports To - ReportsToID string `json:"ReportsToID,omitempty"` + ReportsToID *string `json:"ReportsToID,omitempty"` // Salutation - Salutation string `json:"Salutation,omitempty"` + Salutation *string `json:"Salutation,omitempty"` // Slug - Slug string `json:"Slug,omitempty"` + Slug *string `json:"Slug,omitempty"` // Tenant Identifier - TenantID string `json:"TenantID,omitempty"` + TenantID *string `json:"TenantID,omitempty"` // Contact Title - Title string `json:"Title,omitempty"` + Title *string `json:"Title,omitempty"` // Twitter URL - Twitter string `json:"Twitter,omitempty"` + Twitter *string `json:"Twitter,omitempty"` } // Validate validates this contact diff --git a/api/crm/crm_models/contract.go b/api/crm/crm_models/contract.go index fab51e6..7e16d4e 100644 --- a/api/crm/crm_models/contract.go +++ b/api/crm/crm_models/contract.go @@ -23,97 +23,97 @@ import ( type Contract struct { // Account - AccountID string `json:"AccountID,omitempty"` + AccountID *string `json:"AccountID,omitempty"` // Activated By - ActivatedByID string `json:"ActivatedByID,omitempty"` + ActivatedByID *string `json:"ActivatedByID,omitempty"` // Activated Date - ActivatedDate string `json:"ActivatedDate,omitempty"` + ActivatedDate *string `json:"ActivatedDate,omitempty"` // billing address BillingAddress *Address `json:"BillingAddress,omitempty"` // Billing Contact - BillingContactID string `json:"BillingContactID,omitempty"` + BillingContactID *string `json:"BillingContactID,omitempty"` // Company Signed Date - CompanySignedDate string `json:"CompanySignedDate,omitempty"` + CompanySignedDate *string `json:"CompanySignedDate,omitempty"` // Company Signed By - CompanySignedID string `json:"CompanySignedID,omitempty"` + CompanySignedID *string `json:"CompanySignedID,omitempty"` // Contract Number - ContractNumber string `json:"ContractNumber,omitempty"` + ContractNumber *string `json:"ContractNumber,omitempty"` // Contract Term (months) - ContractTerm float64 `json:"ContractTerm,omitempty"` + ContractTerm *float64 `json:"ContractTerm,omitempty"` // Created By User ID - CreatedByID string `json:"CreatedByID,omitempty"` + CreatedByID *string `json:"CreatedByID,omitempty"` // Created Date - CreatedDate string `json:"CreatedDate,omitempty"` + CreatedDate *string `json:"CreatedDate,omitempty"` // Customer Signed Date - CustomerSignedDate string `json:"CustomerSignedDate,omitempty"` + CustomerSignedDate *string `json:"CustomerSignedDate,omitempty"` // Customer Signed By - CustomerSignedID string `json:"CustomerSignedID,omitempty"` + CustomerSignedID *string `json:"CustomerSignedID,omitempty"` // Customer Signed Title - CustomerSignedTitle string `json:"CustomerSignedTitle,omitempty"` + CustomerSignedTitle *string `json:"CustomerSignedTitle,omitempty"` // End User - DefaultEndUserID string `json:"DefaultEndUserID,omitempty"` + DefaultEndUserID *string `json:"DefaultEndUserID,omitempty"` // Description - Description string `json:"Description,omitempty"` + Description *string `json:"Description,omitempty"` // Contract End Date - EndDate string `json:"EndDate,omitempty"` + EndDate *string `json:"EndDate,omitempty"` // End User - EndUserID string `json:"EndUserID,omitempty"` + EndUserID *string `json:"EndUserID,omitempty"` // Hourly Rate - HourlyRate float64 `json:"HourlyRate,omitempty"` + HourlyRate *float64 `json:"HourlyRate,omitempty"` - // Telnexus Record Id + // Record Id ID string `json:"ID,omitempty"` // Last Modified By User ID - LastModifiedByID string `json:"LastModifiedByID,omitempty"` + LastModifiedByID *string `json:"LastModifiedByID,omitempty"` // Last Modified Date - LastModifiedDate string `json:"LastModifiedDate,omitempty"` + LastModifiedDate *string `json:"LastModifiedDate,omitempty"` // Contract Name - Name string `json:"Name,omitempty"` + Name *string `json:"Name,omitempty"` // Payment Method - PaymentMethodID string `json:"PaymentMethodID,omitempty"` + PaymentMethodID *string `json:"PaymentMethodID,omitempty"` // Payment Terms - PaymentTerms string `json:"PaymentTerms,omitempty"` + PaymentTerms *string `json:"PaymentTerms,omitempty"` // Perpetual Agreement? - Perpetual bool `json:"Perpetual,omitempty"` + Perpetual *bool `json:"Perpetual,omitempty"` // shipping address ShippingAddress *Address `json:"ShippingAddress,omitempty"` // Shipping Contact - ShippingContactID string `json:"ShippingContactID,omitempty"` + ShippingContactID *string `json:"ShippingContactID,omitempty"` // Contract Start Date - StartDate string `json:"StartDate,omitempty"` + StartDate *string `json:"StartDate,omitempty"` // Status - Status string `json:"Status,omitempty"` + Status *string `json:"Status,omitempty"` // Tenant Identifier - TenantID string `json:"TenantID,omitempty"` + TenantID *string `json:"TenantID,omitempty"` } // Validate validates this contract diff --git a/api/crm/crm_models/lead.go b/api/crm/crm_models/lead.go index 468cf71..f77c1bb 100644 --- a/api/crm/crm_models/lead.go +++ b/api/crm/crm_models/lead.go @@ -26,85 +26,85 @@ type Lead struct { Address *Address `json:"Address,omitempty"` // Company - Company string `json:"Company,omitempty"` + Company *string `json:"Company,omitempty"` // Created By User ID - CreatedByID string `json:"CreatedByID,omitempty"` + CreatedByID *string `json:"CreatedByID,omitempty"` // Created Date - CreatedDate string `json:"CreatedDate,omitempty"` + CreatedDate *string `json:"CreatedDate,omitempty"` // Description - Description string `json:"Description,omitempty"` + Description *string `json:"Description,omitempty"` // Email - Email string `json:"Email,omitempty"` + Email *string `json:"Email,omitempty"` // First Name - FirstName string `json:"FirstName,omitempty"` + FirstName *string `json:"FirstName,omitempty"` // Record Id ID string `json:"ID,omitempty"` // Last Modified By User ID - LastModifiedByID string `json:"LastModifiedByID,omitempty"` + LastModifiedByID *string `json:"LastModifiedByID,omitempty"` // Last Modified Date - LastModifiedDate string `json:"LastModifiedDate,omitempty"` + LastModifiedDate *string `json:"LastModifiedDate,omitempty"` // Last Name - LastName string `json:"LastName,omitempty"` + LastName *string `json:"LastName,omitempty"` // Mobile - MobilePhone string `json:"MobilePhone,omitempty"` + MobilePhone *string `json:"MobilePhone,omitempty"` // Name - Name string `json:"Name,omitempty"` + Name *string `json:"Name,omitempty"` // LeadBasic Owner - OwnerID string `json:"OwnerId,omitempty"` + OwnerID *string `json:"OwnerId,omitempty"` // Partner Account - PartnerAccountID string `json:"PartnerAccountId,omitempty"` + PartnerAccountID *string `json:"PartnerAccountId,omitempty"` // Phone - Phone string `json:"Phone,omitempty"` + Phone *string `json:"Phone,omitempty"` // Product - ProductID string `json:"ProductID,omitempty"` + ProductID *string `json:"ProductID,omitempty"` // referer_url - RefererURL string `json:"RefererURL,omitempty"` + RefererURL *string `json:"RefererURL,omitempty"` // LeadBasic Status - Status string `json:"Status,omitempty"` + Status *string `json:"Status,omitempty"` // Tenant Identifier - TenantID string `json:"TenantID,omitempty"` + TenantID *string `json:"TenantID,omitempty"` // Title - Title string `json:"Title,omitempty"` + Title *string `json:"Title,omitempty"` // Type - Type string `json:"Type,omitempty"` + Type *string `json:"Type,omitempty"` // utm_campaign - UTMCampaign string `json:"UTMCampaign,omitempty"` + UTMCampaign *string `json:"UTMCampaign,omitempty"` // utm_content - UTMContent string `json:"UTMContent,omitempty"` + UTMContent *string `json:"UTMContent,omitempty"` // utm_medium - UTMMedium string `json:"UTMMedium,omitempty"` + UTMMedium *string `json:"UTMMedium,omitempty"` // utm_source - UTMSource string `json:"UTMSource,omitempty"` + UTMSource *string `json:"UTMSource,omitempty"` // utm_term - UTMTerm string `json:"UTMTerm,omitempty"` + UTMTerm *string `json:"UTMTerm,omitempty"` // Website - Website string `json:"Website,omitempty"` + Website *string `json:"Website,omitempty"` } // Validate validates this lead diff --git a/api/members/members_models/address.go b/api/members/members_models/address.go index b251122..eb29d67 100644 --- a/api/members/members_models/address.go +++ b/api/members/members_models/address.go @@ -22,25 +22,25 @@ import ( type Address struct { // City - City string `json:"City,omitempty"` + City *string `json:"City,omitempty"` // Country full name - Country string `json:"Country,omitempty"` + Country *string `json:"Country,omitempty"` // Country Code - CountryCode string `json:"CountryCode,omitempty"` + CountryCode *string `json:"CountryCode,omitempty"` // Postal Code - PostalCode string `json:"PostalCode,omitempty"` + PostalCode *string `json:"PostalCode,omitempty"` // State full name - State string `json:"State,omitempty"` + State *string `json:"State,omitempty"` // State Code - StateCode string `json:"StateCode,omitempty"` + StateCode *string `json:"StateCode,omitempty"` // Street number and name - Street string `json:"Street,omitempty"` + Street *string `json:"Street,omitempty"` } // Validate validates this address diff --git a/api/members/members_models/attendee.go b/api/members/members_models/attendee.go index eb8be44..600663a 100644 --- a/api/members/members_models/attendee.go +++ b/api/members/members_models/attendee.go @@ -28,7 +28,7 @@ type Attendee struct { CreatedDate *string `json:"CreatedDate,omitempty"` // event ID - EventID string `json:"EventID,omitempty"` + EventID *string `json:"EventID,omitempty"` // ID ID string `json:"ID,omitempty"` @@ -37,10 +37,10 @@ type Attendee struct { LastModifiedDate *string `json:"LastModifiedDate,omitempty"` // ticket ID - TicketID string `json:"TicketID,omitempty"` + TicketID *string `json:"TicketID,omitempty"` // user ID - UserID string `json:"UserID,omitempty"` + UserID *string `json:"UserID,omitempty"` } // Validate validates this attendee diff --git a/api/members/members_models/certificate.go b/api/members/members_models/certificate.go index 4a47959..9d2a1d7 100644 --- a/api/members/members_models/certificate.go +++ b/api/members/members_models/certificate.go @@ -22,13 +22,13 @@ import ( type Certificate struct { // certificate template - CertificateTemplate string `json:"CertificateTemplate,omitempty"` + CertificateTemplate *string `json:"CertificateTemplate,omitempty"` // course ID - CourseID string `json:"CourseID,omitempty"` + CourseID *string `json:"CourseID,omitempty"` // created by ID - CreatedByID string `json:"CreatedByID,omitempty"` + CreatedByID *string `json:"CreatedByID,omitempty"` // created date CreatedDate *string `json:"CreatedDate,omitempty"` @@ -40,13 +40,13 @@ type Certificate struct { ID string `json:"ID,omitempty"` // last modified by ID - LastModifiedByID string `json:"LastModifiedByID,omitempty"` + LastModifiedByID *string `json:"LastModifiedByID,omitempty"` // last modified date LastModifiedDate *string `json:"LastModifiedDate,omitempty"` // title - Title string `json:"Title,omitempty"` + Title *string `json:"Title,omitempty"` } // Validate validates this certificate diff --git a/api/members/members_models/clerk_user.go b/api/members/members_models/clerk_user.go index 67db38c..e6d1b6f 100644 --- a/api/members/members_models/clerk_user.go +++ b/api/members/members_models/clerk_user.go @@ -29,7 +29,7 @@ type ClerkUser struct { BackupCodes []string `json:"backup_codes"` // A custom date/time denoting _when_ the user signed up to the application, specified in RFC3339 format (e.g. `2012-10-20T07:15:20.902Z`). - CreatedAt string `json:"created_at,omitempty"` + CreatedAt *string `json:"created_at,omitempty"` // Email addresses to add to the user. // Must be unique across your instance. @@ -38,22 +38,22 @@ type ClerkUser struct { // The ID of the user as used in your external systems or your previous authentication solution. // Must be unique across your instance. - ExternalID string `json:"external_id,omitempty"` + ExternalID *string `json:"external_id,omitempty"` // The first name to assign to the user - FirstName string `json:"first_name,omitempty"` + FirstName *string `json:"first_name,omitempty"` // The last name to assign to the user - LastName string `json:"last_name,omitempty"` + LastName *string `json:"last_name,omitempty"` // The plaintext password to give the user. // Must be at least 8 characters long, and can not be in any list of hacked passwords. - Password string `json:"password,omitempty"` + Password *string `json:"password,omitempty"` // In case you already have the password digests and not the passwords, you can use them for the newly created user via this property. // The digests should be generated with one of the supported algorithms. // The hashing algorithm can be specified using the `password_hasher` property. - PasswordDigest string `json:"password_digest,omitempty"` + PasswordDigest *string `json:"password_digest,omitempty"` // The hashing algorithm that was used to generate the password digest. // The algorithms we support at the moment are [bcrypt](https://en.wikipedia.org/wiki/Bcrypt), md5, pbkdf2_sha256, [pbkdf2_sha256_django](https://docs.djangoproject.com/en/4.0/topics/auth/passwords/), [scrypt_firebase](https://firebaseopensource.com/projects/firebase/scrypt/) and 2 [argon2](https://argon2.online/) variants, argon2i and argon2id. @@ -128,7 +128,7 @@ type ClerkUser struct { // // If you need support for any particular hashing algorithm, [please let us know](https://clerk.com/support). // Enum: [bcrypt md5 pbkdf2_sha256 pbkdf2_sha256_django pbkdf2_sha1 scrypt_firebase argon2i argon2id] - PasswordHasher string `json:"password_hasher,omitempty"` + PasswordHasher *string `json:"password_hasher,omitempty"` // Phone numbers to add to the user. // Must be unique across your instance. @@ -156,7 +156,7 @@ type ClerkUser struct { // * Period: 30 seconds // * Code length: 6 digits // * Algorithm: SHA1 - TotpSecret string `json:"totp_secret,omitempty"` + TotpSecret *string `json:"totp_secret,omitempty"` // Metadata saved on the user, that can be updated from both the Frontend and Backend APIs. // Note: Since this data can be modified from the frontend, it is not guaranteed to be safe. @@ -164,7 +164,7 @@ type ClerkUser struct { // The username to give to the user. // It must be unique across your instance. - Username string `json:"username,omitempty"` + Username *string `json:"username,omitempty"` // Web3 wallets to add to the user. // Must be unique across your instance. @@ -239,7 +239,7 @@ func (m *ClerkUser) validatePasswordHasher(formats strfmt.Registry) error { } // value enum - if err := m.validatePasswordHasherEnum("password_hasher", "body", m.PasswordHasher); err != nil { + if err := m.validatePasswordHasherEnum("password_hasher", "body", *m.PasswordHasher); err != nil { return err } diff --git a/api/members/members_models/cluster.go b/api/members/members_models/cluster.go index 55f40a0..e316501 100644 --- a/api/members/members_models/cluster.go +++ b/api/members/members_models/cluster.go @@ -22,55 +22,55 @@ import ( type Cluster struct { // Created By - CreatedByID string `json:"CreatedByID,omitempty"` + CreatedByID *string `json:"CreatedByID,omitempty"` // Created Date - CreatedDate string `json:"CreatedDate,omitempty"` + CreatedDate *string `json:"CreatedDate,omitempty"` // Description - Description string `json:"Description,omitempty"` + Description *string `json:"Description,omitempty"` // Environment - Environment string `json:"Environment,omitempty"` + Environment *string `json:"Environment,omitempty"` // Gateway - Gateway string `json:"Gateway,omitempty"` + Gateway *string `json:"Gateway,omitempty"` // Record Id ID string `json:"ID,omitempty"` // IP Address - IPAddress string `json:"IPAddress,omitempty"` + IPAddress *string `json:"IPAddress,omitempty"` // Last Modified By - LastModifiedByID string `json:"LastModifiedByID,omitempty"` + LastModifiedByID *string `json:"LastModifiedByID,omitempty"` // Last Modified Date - LastModifiedDate string `json:"LastModifiedDate,omitempty"` + LastModifiedDate *string `json:"LastModifiedDate,omitempty"` // Cluster Name - Name string `json:"Name,omitempty"` + Name *string `json:"Name,omitempty"` // Owner - OwnerID string `json:"OwnerID,omitempty"` + OwnerID *string `json:"OwnerID,omitempty"` // External Reference - Ref string `json:"Ref,omitempty"` + Ref *string `json:"Ref,omitempty"` // Status - Status string `json:"Status,omitempty"` + Status *string `json:"Status,omitempty"` // Subnet - Subnet string `json:"Subnet,omitempty"` + Subnet *string `json:"Subnet,omitempty"` // The ID of the tenant who owns this Database - TenantID string `json:"TenantID,omitempty"` + TenantID *string `json:"TenantID,omitempty"` // Type - Type string `json:"Type,omitempty"` + Type *string `json:"Type,omitempty"` // Zone - Zone string `json:"Zone,omitempty"` + Zone *string `json:"Zone,omitempty"` } // Validate validates this cluster diff --git a/api/members/members_models/course.go b/api/members/members_models/course.go index 3960a72..7cb23a2 100644 --- a/api/members/members_models/course.go +++ b/api/members/members_models/course.go @@ -22,25 +22,25 @@ import ( type Course struct { // created by ID - CreatedByID string `json:"CreatedByID,omitempty"` + CreatedByID *string `json:"CreatedByID,omitempty"` // created date CreatedDate *string `json:"CreatedDate,omitempty"` // description - Description string `json:"Description,omitempty"` + Description *string `json:"Description,omitempty"` // fulldescription - Fulldescription string `json:"Fulldescription,omitempty"` + Fulldescription *string `json:"Fulldescription,omitempty"` // ID ID string `json:"ID,omitempty"` // instructor ID - InstructorID string `json:"InstructorID,omitempty"` + InstructorID *string `json:"InstructorID,omitempty"` // last modified by ID - LastModifiedByID string `json:"LastModifiedByID,omitempty"` + LastModifiedByID *string `json:"LastModifiedByID,omitempty"` // last modified date LastModifiedDate *string `json:"LastModifiedDate,omitempty"` @@ -49,7 +49,7 @@ type Course struct { Price float64 `json:"Price,omitempty"` // title - Title string `json:"Title,omitempty"` + Title *string `json:"Title,omitempty"` } // Validate validates this course diff --git a/api/members/members_models/course_lesson.go b/api/members/members_models/course_lesson.go index f369111..2563f86 100644 --- a/api/members/members_models/course_lesson.go +++ b/api/members/members_models/course_lesson.go @@ -22,10 +22,10 @@ import ( type CourseLesson struct { // content - Content string `json:"Content,omitempty"` + Content *string `json:"Content,omitempty"` // created by ID - CreatedByID string `json:"CreatedByID,omitempty"` + CreatedByID *string `json:"CreatedByID,omitempty"` // created date CreatedDate *string `json:"CreatedDate,omitempty"` @@ -34,7 +34,7 @@ type CourseLesson struct { ID string `json:"ID,omitempty"` // last modified by ID - LastModifiedByID string `json:"LastModifiedByID,omitempty"` + LastModifiedByID *string `json:"LastModifiedByID,omitempty"` // last modified date LastModifiedDate *string `json:"LastModifiedDate,omitempty"` @@ -43,13 +43,13 @@ type CourseLesson struct { Order int64 `json:"Order,omitempty"` // section ID - SectionID string `json:"SectionID,omitempty"` + SectionID *string `json:"SectionID,omitempty"` // title - Title string `json:"Title,omitempty"` + Title *string `json:"Title,omitempty"` // video URL - VideoURL string `json:"VideoURL,omitempty"` + VideoURL *string `json:"VideoURL,omitempty"` } // Validate validates this course lesson diff --git a/api/members/members_models/course_section.go b/api/members/members_models/course_section.go index 8c57611..7d30559 100644 --- a/api/members/members_models/course_section.go +++ b/api/members/members_models/course_section.go @@ -22,22 +22,22 @@ import ( type CourseSection struct { // course ID - CourseID string `json:"CourseID,omitempty"` + CourseID *string `json:"CourseID,omitempty"` // created by ID - CreatedByID string `json:"CreatedByID,omitempty"` + CreatedByID *string `json:"CreatedByID,omitempty"` // created date CreatedDate *string `json:"CreatedDate,omitempty"` // description - Description string `json:"Description,omitempty"` + Description *string `json:"Description,omitempty"` // ID ID string `json:"ID,omitempty"` // last modified by ID - LastModifiedByID string `json:"LastModifiedByID,omitempty"` + LastModifiedByID *string `json:"LastModifiedByID,omitempty"` // last modified date LastModifiedDate *string `json:"LastModifiedDate,omitempty"` @@ -46,7 +46,7 @@ type CourseSection struct { Order int64 `json:"Order,omitempty"` // title - Title string `json:"Title,omitempty"` + Title *string `json:"Title,omitempty"` } // Validate validates this course section diff --git a/api/members/members_models/database.go b/api/members/members_models/database.go index df4b4a3..13d1362 100644 --- a/api/members/members_models/database.go +++ b/api/members/members_models/database.go @@ -22,40 +22,40 @@ import ( type Database struct { // Is this database active? - Active bool `json:"Active,omitempty"` + Active *bool `json:"Active,omitempty"` // The ID of the Cluster in which this database is deployed - ClusterID string `json:"ClusterID,omitempty"` + ClusterID *string `json:"ClusterID,omitempty"` // Created By - CreatedByID string `json:"CreatedByID,omitempty"` + CreatedByID *string `json:"CreatedByID,omitempty"` // Created Date - CreatedDate string `json:"CreatedDate,omitempty"` + CreatedDate *string `json:"CreatedDate,omitempty"` // Database connection string - DSN string `json:"DSN,omitempty"` + DSN *string `json:"DSN,omitempty"` // The name of the physical database in the cluster - DatabaseName string `json:"DatabaseName,omitempty"` + DatabaseName *string `json:"DatabaseName,omitempty"` // Record Id ID string `json:"ID,omitempty"` // Last Modified By - LastModifiedByID string `json:"LastModifiedByID,omitempty"` + LastModifiedByID *string `json:"LastModifiedByID,omitempty"` // Last Modifed Date - LastModifiedDate string `json:"LastModifiedDate,omitempty"` + LastModifiedDate *string `json:"LastModifiedDate,omitempty"` // The current status of this Tenant - Status string `json:"Status,omitempty"` + Status *string `json:"Status,omitempty"` // The ID of the tenant who owns this Database - TenantID string `json:"TenantID,omitempty"` + TenantID *string `json:"TenantID,omitempty"` // The type of Database (mysql, etc) - Type string `json:"Type,omitempty"` + Type *string `json:"Type,omitempty"` } // Validate validates this database diff --git a/api/members/members_models/enrollment.go b/api/members/members_models/enrollment.go index f69a9cf..965d097 100644 --- a/api/members/members_models/enrollment.go +++ b/api/members/members_models/enrollment.go @@ -25,28 +25,28 @@ type Enrollment struct { Completed int64 `json:"Completed,omitempty"` // course ID - CourseID string `json:"CourseID,omitempty"` + CourseID *string `json:"CourseID,omitempty"` // created by ID - CreatedByID string `json:"CreatedByID,omitempty"` + CreatedByID *string `json:"CreatedByID,omitempty"` // created date CreatedDate *string `json:"CreatedDate,omitempty"` // enrollment date - EnrollmentDate string `json:"EnrollmentDate,omitempty"` + EnrollmentDate *string `json:"EnrollmentDate,omitempty"` // ID ID string `json:"ID,omitempty"` // last modified by ID - LastModifiedByID string `json:"LastModifiedByID,omitempty"` + LastModifiedByID *string `json:"LastModifiedByID,omitempty"` // last modified date LastModifiedDate *string `json:"LastModifiedDate,omitempty"` // user ID - UserID string `json:"UserID,omitempty"` + UserID *string `json:"UserID,omitempty"` } // Validate validates this enrollment diff --git a/api/members/members_models/event.go b/api/members/members_models/event.go index 42a3769..59ed504 100644 --- a/api/members/members_models/event.go +++ b/api/members/members_models/event.go @@ -31,22 +31,22 @@ type Event struct { Description *string `json:"Description,omitempty"` // end date - EndDate string `json:"EndDate,omitempty"` + EndDate *string `json:"EndDate,omitempty"` // ID ID string `json:"ID,omitempty"` // location - Location string `json:"Location,omitempty"` + Location *string `json:"Location,omitempty"` // organizeruser ID - OrganizeruserID string `json:"OrganizeruserID,omitempty"` + OrganizeruserID *string `json:"OrganizeruserID,omitempty"` // start date - StartDate string `json:"StartDate,omitempty"` + StartDate *string `json:"StartDate,omitempty"` // title - Title string `json:"Title,omitempty"` + Title *string `json:"Title,omitempty"` // up datedat UpDatedat *string `json:"UpDatedat,omitempty"` diff --git a/api/members/members_models/event_category.go b/api/members/members_models/event_category.go index a6605b5..c261701 100644 --- a/api/members/members_models/event_category.go +++ b/api/members/members_models/event_category.go @@ -31,7 +31,7 @@ type EventCategory struct { LastModifiedDate *string `json:"LastModifiedDate,omitempty"` // name - Name string `json:"Name,omitempty"` + Name *string `json:"Name,omitempty"` } // Validate validates this event category diff --git a/api/members/members_models/event_category_assignment.go b/api/members/members_models/event_category_assignment.go index 6fd2ac0..334483a 100644 --- a/api/members/members_models/event_category_assignment.go +++ b/api/members/members_models/event_category_assignment.go @@ -25,10 +25,10 @@ type EventCategoryAssignment struct { Createdat *string `json:"Createdat,omitempty"` // event category ID - EventCategoryID string `json:"EventCategoryID,omitempty"` + EventCategoryID *string `json:"EventCategoryID,omitempty"` // event ID - EventID string `json:"EventID,omitempty"` + EventID *string `json:"EventID,omitempty"` // ID ID string `json:"ID,omitempty"` diff --git a/api/members/members_models/favorite.go b/api/members/members_models/favorite.go index 6f5db60..ff33e35 100644 --- a/api/members/members_models/favorite.go +++ b/api/members/members_models/favorite.go @@ -22,16 +22,16 @@ import ( type Favorite struct { // created by ID - CreatedByID string `json:"CreatedByID,omitempty"` + CreatedByID *string `json:"CreatedByID,omitempty"` // created date CreatedDate *string `json:"CreatedDate,omitempty"` // description - Description string `json:"Description,omitempty"` + Description *string `json:"Description,omitempty"` // favorite ID - FavoriteID string `json:"FavoriteID,omitempty"` + FavoriteID *string `json:"FavoriteID,omitempty"` // favoritetype Favoritetype *string `json:"Favoritetype,omitempty"` @@ -40,22 +40,22 @@ type Favorite struct { ID string `json:"ID,omitempty"` // last modified by ID - LastModifiedByID string `json:"LastModifiedByID,omitempty"` + LastModifiedByID *string `json:"LastModifiedByID,omitempty"` // last modified date LastModifiedDate *string `json:"LastModifiedDate,omitempty"` // name - Name string `json:"Name,omitempty"` + Name *string `json:"Name,omitempty"` // path - Path string `json:"Path,omitempty"` + Path *string `json:"Path,omitempty"` // tenant ID - TenantID string `json:"TenantID,omitempty"` + TenantID *string `json:"TenantID,omitempty"` // user ID - UserID string `json:"UserID,omitempty"` + UserID *string `json:"UserID,omitempty"` } // Validate validates this favorite diff --git a/api/members/members_models/invoice.go b/api/members/members_models/invoice.go index a0ed7d0..e9bb341 100644 --- a/api/members/members_models/invoice.go +++ b/api/members/members_models/invoice.go @@ -25,40 +25,40 @@ type Invoice struct { Amount float64 `json:"Amount,omitempty"` // course ID - CourseID string `json:"CourseID,omitempty"` + CourseID *string `json:"CourseID,omitempty"` // created by ID - CreatedByID string `json:"CreatedByID,omitempty"` + CreatedByID *string `json:"CreatedByID,omitempty"` // created date CreatedDate *string `json:"CreatedDate,omitempty"` // currency - Currency string `json:"Currency,omitempty"` + Currency *string `json:"Currency,omitempty"` // due date - DueDate string `json:"DueDate,omitempty"` + DueDate *string `json:"DueDate,omitempty"` // ID ID string `json:"ID,omitempty"` // invoicenumber - Invoicenumber string `json:"Invoicenumber,omitempty"` + Invoicenumber *string `json:"Invoicenumber,omitempty"` // last modified by ID - LastModifiedByID string `json:"LastModifiedByID,omitempty"` + LastModifiedByID *string `json:"LastModifiedByID,omitempty"` // last modified date LastModifiedDate *string `json:"LastModifiedDate,omitempty"` // status - Status string `json:"Status,omitempty"` + Status *string `json:"Status,omitempty"` // transaction ID - TransactionID string `json:"TransactionID,omitempty"` + TransactionID *string `json:"TransactionID,omitempty"` // user ID - UserID string `json:"UserID,omitempty"` + UserID *string `json:"UserID,omitempty"` } // Validate validates this invoice diff --git a/api/members/members_models/issued_certificate.go b/api/members/members_models/issued_certificate.go index 0791f1c..91035d2 100644 --- a/api/members/members_models/issued_certificate.go +++ b/api/members/members_models/issued_certificate.go @@ -22,16 +22,16 @@ import ( type IssuedCertificate struct { // certificate ID - CertificateID string `json:"CertificateID,omitempty"` + CertificateID *string `json:"CertificateID,omitempty"` // created by ID - CreatedByID string `json:"CreatedByID,omitempty"` + CreatedByID *string `json:"CreatedByID,omitempty"` // created date CreatedDate *string `json:"CreatedDate,omitempty"` // enrollment ID - EnrollmentID string `json:"EnrollmentID,omitempty"` + EnrollmentID *string `json:"EnrollmentID,omitempty"` // expiration date ExpirationDate *string `json:"ExpirationDate,omitempty"` @@ -40,19 +40,19 @@ type IssuedCertificate struct { ID string `json:"ID,omitempty"` // issue date - IssueDate string `json:"IssueDate,omitempty"` + IssueDate *string `json:"IssueDate,omitempty"` // last modified by ID - LastModifiedByID string `json:"LastModifiedByID,omitempty"` + LastModifiedByID *string `json:"LastModifiedByID,omitempty"` // last modified date LastModifiedDate *string `json:"LastModifiedDate,omitempty"` // user ID - UserID string `json:"UserID,omitempty"` + UserID *string `json:"UserID,omitempty"` // verification code - VerificationCode string `json:"VerificationCode,omitempty"` + VerificationCode *string `json:"VerificationCode,omitempty"` } // Validate validates this issued certificate diff --git a/api/members/members_models/lesson_progress.go b/api/members/members_models/lesson_progress.go index c23ef26..68579ca 100644 --- a/api/members/members_models/lesson_progress.go +++ b/api/members/members_models/lesson_progress.go @@ -28,28 +28,28 @@ type LessonProgress struct { Completedat *string `json:"Completedat,omitempty"` // created by ID - CreatedByID string `json:"CreatedByID,omitempty"` + CreatedByID *string `json:"CreatedByID,omitempty"` // created date CreatedDate *string `json:"CreatedDate,omitempty"` // enrollment ID - EnrollmentID string `json:"EnrollmentID,omitempty"` + EnrollmentID *string `json:"EnrollmentID,omitempty"` // ID ID string `json:"ID,omitempty"` // last modified by ID - LastModifiedByID string `json:"LastModifiedByID,omitempty"` + LastModifiedByID *string `json:"LastModifiedByID,omitempty"` // last modified date LastModifiedDate *string `json:"LastModifiedDate,omitempty"` // lesson ID - LessonID string `json:"LessonID,omitempty"` + LessonID *string `json:"LessonID,omitempty"` // user ID - UserID string `json:"UserID,omitempty"` + UserID *string `json:"UserID,omitempty"` } // Validate validates this lesson progress diff --git a/api/members/members_models/message.go b/api/members/members_models/message.go index 1aedd43..f35d24d 100644 --- a/api/members/members_models/message.go +++ b/api/members/members_models/message.go @@ -22,10 +22,10 @@ import ( type Message struct { // message - Message string `json:"Message,omitempty"` + Message *string `json:"Message,omitempty"` // ref - Ref string `json:"Ref,omitempty"` + Ref *string `json:"Ref,omitempty"` // status Status int64 `json:"Status,omitempty"` diff --git a/api/members/members_models/order.go b/api/members/members_models/order.go index c401b2c..4d51152 100644 --- a/api/members/members_models/order.go +++ b/api/members/members_models/order.go @@ -28,25 +28,25 @@ type Order struct { Createdat *string `json:"Createdat,omitempty"` // event ID - EventID string `json:"EventID,omitempty"` + EventID *string `json:"EventID,omitempty"` // ID ID string `json:"ID,omitempty"` // order status - OrderStatus string `json:"OrderStatus,omitempty"` + OrderStatus *string `json:"OrderStatus,omitempty"` // payment method PaymentMethod *string `json:"PaymentMethod,omitempty"` // ticket ID - TicketID string `json:"TicketID,omitempty"` + TicketID *string `json:"TicketID,omitempty"` // up datedat UpDatedat *string `json:"UpDatedat,omitempty"` // user ID - UserID string `json:"UserID,omitempty"` + UserID *string `json:"UserID,omitempty"` } // Validate validates this order diff --git a/api/members/members_models/payment_method.go b/api/members/members_models/payment_method.go index ef99a01..607ac9e 100644 --- a/api/members/members_models/payment_method.go +++ b/api/members/members_models/payment_method.go @@ -22,16 +22,16 @@ import ( type PaymentMethod struct { // card holder name - CardHolderName string `json:"CardHolderName,omitempty"` + CardHolderName *string `json:"CardHolderName,omitempty"` // card number - CardNumber string `json:"CardNumber,omitempty"` + CardNumber *string `json:"CardNumber,omitempty"` // card type - CardType string `json:"CardType,omitempty"` + CardType *string `json:"CardType,omitempty"` // created by ID - CreatedByID string `json:"CreatedByID,omitempty"` + CreatedByID *string `json:"CreatedByID,omitempty"` // created date CreatedDate *string `json:"CreatedDate,omitempty"` @@ -49,13 +49,13 @@ type PaymentMethod struct { Isdefault int64 `json:"Isdefault,omitempty"` // last modified by ID - LastModifiedByID string `json:"LastModifiedByID,omitempty"` + LastModifiedByID *string `json:"LastModifiedByID,omitempty"` // last modified date LastModifiedDate *string `json:"LastModifiedDate,omitempty"` // user ID - UserID string `json:"UserID,omitempty"` + UserID *string `json:"UserID,omitempty"` } // Validate validates this payment method diff --git a/api/members/members_models/research_project.go b/api/members/members_models/research_project.go index d2042b4..38dc659 100644 --- a/api/members/members_models/research_project.go +++ b/api/members/members_models/research_project.go @@ -22,34 +22,34 @@ import ( type ResearchProject struct { // account ID - AccountID string `json:"AccountID,omitempty"` + AccountID *string `json:"AccountID,omitempty"` // created by ID - CreatedByID string `json:"CreatedByID,omitempty"` + CreatedByID *string `json:"CreatedByID,omitempty"` // created date CreatedDate *string `json:"CreatedDate,omitempty"` // description - Description string `json:"Description,omitempty"` + Description *string `json:"Description,omitempty"` // ID ID string `json:"ID,omitempty"` // last modified by ID - LastModifiedByID string `json:"LastModifiedByID,omitempty"` + LastModifiedByID *string `json:"LastModifiedByID,omitempty"` // last modified date LastModifiedDate *string `json:"LastModifiedDate,omitempty"` // name - Name string `json:"Name,omitempty"` + Name *string `json:"Name,omitempty"` // tenant ID - TenantID string `json:"TenantID,omitempty"` + TenantID *string `json:"TenantID,omitempty"` // user ID - UserID string `json:"UserID,omitempty"` + UserID *string `json:"UserID,omitempty"` } // Validate validates this research project diff --git a/api/members/members_models/research_project_company.go b/api/members/members_models/research_project_company.go index e497d8f..045574d 100644 --- a/api/members/members_models/research_project_company.go +++ b/api/members/members_models/research_project_company.go @@ -22,10 +22,10 @@ import ( type ResearchProjectCompany struct { // account ID - AccountID string `json:"AccountID,omitempty"` + AccountID *string `json:"AccountID,omitempty"` // created by ID - CreatedByID string `json:"CreatedByID,omitempty"` + CreatedByID *string `json:"CreatedByID,omitempty"` // created date CreatedDate *string `json:"CreatedDate,omitempty"` @@ -34,16 +34,16 @@ type ResearchProjectCompany struct { ID string `json:"ID,omitempty"` // last modified by ID - LastModifiedByID string `json:"LastModifiedByID,omitempty"` + LastModifiedByID *string `json:"LastModifiedByID,omitempty"` // last modified date LastModifiedDate *string `json:"LastModifiedDate,omitempty"` // research project ID - ResearchProjectID string `json:"ResearchProjectID,omitempty"` + ResearchProjectID *string `json:"ResearchProjectID,omitempty"` // tenant ID - TenantID string `json:"TenantID,omitempty"` + TenantID *string `json:"TenantID,omitempty"` } // Validate validates this research project company diff --git a/api/members/members_models/research_project_topic.go b/api/members/members_models/research_project_topic.go index 07156b4..940ebed 100644 --- a/api/members/members_models/research_project_topic.go +++ b/api/members/members_models/research_project_topic.go @@ -22,7 +22,7 @@ import ( type ResearchProjectTopic struct { // created by ID - CreatedByID string `json:"CreatedByID,omitempty"` + CreatedByID *string `json:"CreatedByID,omitempty"` // created date CreatedDate *string `json:"CreatedDate,omitempty"` @@ -31,19 +31,19 @@ type ResearchProjectTopic struct { ID string `json:"ID,omitempty"` // last modified by ID - LastModifiedByID string `json:"LastModifiedByID,omitempty"` + LastModifiedByID *string `json:"LastModifiedByID,omitempty"` // last modified date LastModifiedDate *string `json:"LastModifiedDate,omitempty"` // research project ID - ResearchProjectID string `json:"ResearchProjectID,omitempty"` + ResearchProjectID *string `json:"ResearchProjectID,omitempty"` // tenant ID - TenantID string `json:"TenantID,omitempty"` + TenantID *string `json:"TenantID,omitempty"` // topic ID - TopicID string `json:"TopicID,omitempty"` + TopicID *string `json:"TopicID,omitempty"` } // Validate validates this research project topic diff --git a/api/members/members_models/role.go b/api/members/members_models/role.go index 60b307f..96f1274 100644 --- a/api/members/members_models/role.go +++ b/api/members/members_models/role.go @@ -22,31 +22,31 @@ import ( type Role struct { // The corresponding Auth0 Role - Auth0RoleID string `json:"Auth0RoleID,omitempty"` + Auth0RoleID *string `json:"Auth0RoleID,omitempty"` // Created By - CreatedByID string `json:"CreatedByID,omitempty"` + CreatedByID *string `json:"CreatedByID,omitempty"` // Created Date - CreatedDate string `json:"CreatedDate,omitempty"` + CreatedDate *string `json:"CreatedDate,omitempty"` // Role Description - Description string `json:"Description,omitempty"` + Description *string `json:"Description,omitempty"` // Record Id ID string `json:"ID,omitempty"` // Last Modified By - LastModifiedByID string `json:"LastModifiedByID,omitempty"` + LastModifiedByID *string `json:"LastModifiedByID,omitempty"` // Last Modifed Date - LastModifiedDate string `json:"LastModifiedDate,omitempty"` + LastModifiedDate *string `json:"LastModifiedDate,omitempty"` // The name of this role - RoleName string `json:"RoleName,omitempty"` + RoleName *string `json:"RoleName,omitempty"` // The ID of the Tenant that owns this Role - TenantID string `json:"TenantID,omitempty"` + TenantID *string `json:"TenantID,omitempty"` } // Validate validates this role diff --git a/api/members/members_models/template.go b/api/members/members_models/template.go index c26f428..dcd2854 100644 --- a/api/members/members_models/template.go +++ b/api/members/members_models/template.go @@ -22,16 +22,16 @@ import ( type Template struct { // Company - CompanyID string `json:"CompanyID,omitempty"` + CompanyID *string `json:"CompanyID,omitempty"` // created by ID - CreatedByID string `json:"CreatedByID,omitempty"` + CreatedByID *string `json:"CreatedByID,omitempty"` // created date - CreatedDate string `json:"CreatedDate,omitempty"` + CreatedDate *string `json:"CreatedDate,omitempty"` // Description - Description string `json:"Description,omitempty"` + Description *string `json:"Description,omitempty"` // HTML Body // Format: byte @@ -41,34 +41,34 @@ type Template struct { ID string `json:"ID,omitempty"` // Active? - IsActive bool `json:"IsActive,omitempty"` + IsActive *bool `json:"IsActive,omitempty"` // Master Template? - IsMaster bool `json:"IsMaster,omitempty"` + IsMaster *bool `json:"IsMaster,omitempty"` // last modified by ID - LastModifiedByID string `json:"LastModifiedByID,omitempty"` + LastModifiedByID *string `json:"LastModifiedByID,omitempty"` // last modified date - LastModifiedDate string `json:"LastModifiedDate,omitempty"` + LastModifiedDate *string `json:"LastModifiedDate,omitempty"` // Template Name - Name string `json:"Name,omitempty"` + Name *string `json:"Name,omitempty"` // Object - ObjectType string `json:"ObjectType,omitempty"` + ObjectType *string `json:"ObjectType,omitempty"` // Record Type Name - RecordTypeName string `json:"RecordTypeName,omitempty"` + RecordTypeName *string `json:"RecordTypeName,omitempty"` // Tenant that owns this object instance - TenantID string `json:"TenantID,omitempty"` + TenantID *string `json:"TenantID,omitempty"` // Type - Type string `json:"Type,omitempty"` + Type *string `json:"Type,omitempty"` // URL - URL string `json:"URL,omitempty"` + URL *string `json:"URL,omitempty"` } // Validate validates this template diff --git a/api/members/members_models/tenant.go b/api/members/members_models/tenant.go index 15802cb..d4a96db 100644 --- a/api/members/members_models/tenant.go +++ b/api/members/members_models/tenant.go @@ -24,16 +24,16 @@ import ( type Tenant struct { // The Account that owns this Tenant - AccountID string `json:"AccountID,omitempty"` + AccountID *string `json:"AccountID,omitempty"` // Is this Tenant currently active? - Active bool `json:"Active,omitempty"` + Active *bool `json:"Active,omitempty"` // Created By - CreatedByID string `json:"CreatedByID,omitempty"` + CreatedByID *string `json:"CreatedByID,omitempty"` // Created Date - CreatedDate string `json:"CreatedDate,omitempty"` + CreatedDate *string `json:"CreatedDate,omitempty"` // databases Databases []*Database `json:"Databases"` @@ -42,28 +42,28 @@ type Tenant struct { ID string `json:"ID,omitempty"` // Last Modified By - LastModifiedByID string `json:"LastModifiedByID,omitempty"` + LastModifiedByID *string `json:"LastModifiedByID,omitempty"` // Last Modifed Date - LastModifiedDate string `json:"LastModifiedDate,omitempty"` + LastModifiedDate *string `json:"LastModifiedDate,omitempty"` // roles Roles []*Role `json:"Roles"` // The current status of this Tenant - Status string `json:"Status,omitempty"` + Status *string `json:"Status,omitempty"` // Name of the Tenant Resource - TenantName string `json:"TenantName,omitempty"` + TenantName *string `json:"TenantName,omitempty"` // tenant users TenantUsers []*TenantUser `json:"TenantUsers"` // The type of Tenant - Type string `json:"Type,omitempty"` + Type *string `json:"Type,omitempty"` // The version number of the Tenant Onboarding system used to create this tenant - Version string `json:"Version,omitempty"` + Version *string `json:"Version,omitempty"` } // Validate validates this tenant diff --git a/api/members/members_models/tenant_user.go b/api/members/members_models/tenant_user.go index 63853c3..4e192a7 100644 --- a/api/members/members_models/tenant_user.go +++ b/api/members/members_models/tenant_user.go @@ -22,52 +22,52 @@ import ( type TenantUser struct { // The makeTenantUser access level for this User - AccessLevel string `json:"AccessLevel,omitempty"` + AccessLevel *string `json:"AccessLevel,omitempty"` // Account ID - AccountID string `json:"AccountID,omitempty"` + AccountID *string `json:"AccountID,omitempty"` // Auth0 User ID - Auth0UserID string `json:"Auth0UserID,omitempty"` + Auth0UserID *string `json:"Auth0UserID,omitempty"` // Account Name - CompanyName string `json:"CompanyName,omitempty"` + CompanyName *string `json:"CompanyName,omitempty"` // Contact ID - ContactID string `json:"ContactID,omitempty"` + ContactID *string `json:"ContactID,omitempty"` // Account - TaxnexusAccount string `json:"TaxnexusAccount,omitempty"` + TaxnexusAccount *string `json:"TaxnexusAccount,omitempty"` // Tenant active? - TenantActive bool `json:"TenantActive,omitempty"` + TenantActive *bool `json:"TenantActive,omitempty"` // The Tenant ID - TenantID string `json:"TenantID,omitempty"` + TenantID *string `json:"TenantID,omitempty"` // Tenant Name - TenantName string `json:"TenantName,omitempty"` + TenantName *string `json:"TenantName,omitempty"` // Tenant Status - TenantStatus string `json:"TenantStatus,omitempty"` + TenantStatus *string `json:"TenantStatus,omitempty"` // Tenant type - TenantType string `json:"TenantType,omitempty"` + TenantType *string `json:"TenantType,omitempty"` // Tenant Version - TenantVersion string `json:"TenantVersion,omitempty"` + TenantVersion *string `json:"TenantVersion,omitempty"` // User Email Address - UserEmail string `json:"UserEmail,omitempty"` + UserEmail *string `json:"UserEmail,omitempty"` // User Full Name - UserFullName string `json:"UserFullName,omitempty"` + UserFullName *string `json:"UserFullName,omitempty"` // The User ID - UserID string `json:"UserID,omitempty"` + UserID *string `json:"UserID,omitempty"` // Username - Username string `json:"Username,omitempty"` + Username *string `json:"Username,omitempty"` } // Validate validates this tenant user diff --git a/api/members/members_models/ticket.go b/api/members/members_models/ticket.go index 221d383..e87d5bf 100644 --- a/api/members/members_models/ticket.go +++ b/api/members/members_models/ticket.go @@ -25,7 +25,7 @@ type Ticket struct { CreatedDate *string `json:"CreatedDate,omitempty"` // event ID - EventID string `json:"EventID,omitempty"` + EventID *string `json:"EventID,omitempty"` // ID ID string `json:"ID,omitempty"` @@ -40,7 +40,7 @@ type Ticket struct { Quantity int64 `json:"Quantity,omitempty"` // tickettype - Tickettype string `json:"Tickettype,omitempty"` + Tickettype *string `json:"Tickettype,omitempty"` } // Validate validates this ticket diff --git a/api/members/members_models/transaction.go b/api/members/members_models/transaction.go index bf152b5..7129957 100644 --- a/api/members/members_models/transaction.go +++ b/api/members/members_models/transaction.go @@ -25,40 +25,40 @@ type Transaction struct { Amount float64 `json:"Amount,omitempty"` // course ID - CourseID string `json:"CourseID,omitempty"` + CourseID *string `json:"CourseID,omitempty"` // created by ID - CreatedByID string `json:"CreatedByID,omitempty"` + CreatedByID *string `json:"CreatedByID,omitempty"` // created date CreatedDate *string `json:"CreatedDate,omitempty"` // currency - Currency string `json:"Currency,omitempty"` + Currency *string `json:"Currency,omitempty"` // enrollment ID - EnrollmentID string `json:"EnrollmentID,omitempty"` + EnrollmentID *string `json:"EnrollmentID,omitempty"` // ID ID string `json:"ID,omitempty"` // last modified by ID - LastModifiedByID string `json:"LastModifiedByID,omitempty"` + LastModifiedByID *string `json:"LastModifiedByID,omitempty"` // last modified date LastModifiedDate *string `json:"LastModifiedDate,omitempty"` // payment method ID - PaymentMethodID string `json:"PaymentMethodID,omitempty"` + PaymentMethodID *string `json:"PaymentMethodID,omitempty"` // status Status *string `json:"Status,omitempty"` // transaction date - TransactionDate string `json:"TransactionDate,omitempty"` + TransactionDate *string `json:"TransactionDate,omitempty"` // user ID - UserID string `json:"UserID,omitempty"` + UserID *string `json:"UserID,omitempty"` } // Validate validates this transaction diff --git a/api/members/members_models/user.go b/api/members/members_models/user.go index 2342b63..a474ffd 100644 --- a/api/members/members_models/user.go +++ b/api/members/members_models/user.go @@ -24,196 +24,184 @@ import ( type User struct { // API Gateway URL - APIGatewayURL string `json:"APIGatewayURL,omitempty"` + APIGatewayURL *string `json:"APIGatewayURL,omitempty"` // API Gateway User - APIGatewayUser string `json:"APIGatewayUser,omitempty"` + APIGatewayUser *string `json:"APIGatewayUser,omitempty"` // API Key - APIKey string `json:"APIKey,omitempty"` + APIKey *string `json:"APIKey,omitempty"` // About Me - AboutMe string `json:"AboutMe,omitempty"` + AboutMe *string `json:"AboutMe,omitempty"` // Account ID - AccountID string `json:"AccountID,omitempty"` + AccountID *string `json:"AccountID,omitempty"` // address Address *Address `json:"Address,omitempty"` // Alias - Alias string `json:"Alias,omitempty"` + Alias *string `json:"Alias,omitempty"` // Auth0 User Id - Auth0UserID string `json:"Auth0UserID,omitempty"` + Auth0UserID *string `json:"Auth0UserID,omitempty"` // Nickname - CommunityNickname string `json:"CommunityNickname,omitempty"` + CommunityNickname *string `json:"CommunityNickname,omitempty"` // Company Name - CompanyName string `json:"CompanyName,omitempty"` + CompanyName *string `json:"CompanyName,omitempty"` // Contact - ContactID string `json:"ContactID,omitempty"` + ContactID *string `json:"ContactID,omitempty"` // Created User ID - CreatedByID string `json:"CreatedByID,omitempty"` + CreatedByID *string `json:"CreatedByID,omitempty"` // Date Created - CreatedDate string `json:"CreatedDate,omitempty"` + CreatedDate *string `json:"CreatedDate,omitempty"` // Delegated Approver - DelegatedApproverID string `json:"DelegatedApproverID,omitempty"` + DelegatedApproverID *string `json:"DelegatedApproverID,omitempty"` // Department - Department string `json:"Department,omitempty"` + Department *string `json:"Department,omitempty"` // Division - Division string `json:"Division,omitempty"` + Division *string `json:"Division,omitempty"` // Email address - Email string `json:"Email,omitempty"` + Email *string `json:"Email,omitempty"` // Employee Number - EmployeeNumber string `json:"EmployeeNumber,omitempty"` + EmployeeNumber *string `json:"EmployeeNumber,omitempty"` // Time day ends - EndOfDay string `json:"EndOfDay,omitempty"` + EndOfDay *string `json:"EndOfDay,omitempty"` // Environment - Environment string `json:"Environment,omitempty"` + Environment *string `json:"Environment,omitempty"` // Extension - Extension string `json:"Extension,omitempty"` - - // Fabric API Key - FabricAPIKey string `json:"FabricAPIKey,omitempty"` + Extension *string `json:"Extension,omitempty"` // Fax - Fax string `json:"Fax,omitempty"` + Fax *string `json:"Fax,omitempty"` // The first name - FirstName string `json:"FirstName,omitempty"` + FirstName *string `json:"FirstName,omitempty"` // Allow Forecasting - ForecastEnabled bool `json:"ForecastEnabled,omitempty"` + ForecastEnabled *bool `json:"ForecastEnabled,omitempty"` // Full Photo URL - FullPhotoURL string `json:"FullPhotoURL,omitempty"` + FullPhotoURL *string `json:"FullPhotoURL,omitempty"` // GitHub - GitHub string `json:"GitHub,omitempty"` + GitHub *string `json:"GitHub,omitempty"` // Record ID ID string `json:"ID,omitempty"` // Active - IsActive bool `json:"IsActive,omitempty"` + IsActive *bool `json:"IsActive,omitempty"` // Is the user enabled for Communities? - IsPortalEnabled bool `json:"IsPortalEnabled,omitempty"` - - // Has Profile Photo - IsProphilePhotoActive bool `json:"IsProphilePhotoActive,omitempty"` + IsPortalEnabled *bool `json:"IsPortalEnabled,omitempty"` // is system controlled - IsSystemControlled bool `json:"IsSystemControlled,omitempty"` + IsSystemControlled *bool `json:"IsSystemControlled,omitempty"` // IP address of last login - LastIP string `json:"LastIP,omitempty"` + LastIP *string `json:"LastIP,omitempty"` // Last login time - LastLogin string `json:"LastLogin,omitempty"` + LastLogin *string `json:"LastLogin,omitempty"` // Last Modified User ID - LastModifiedByID string `json:"LastModifiedByID,omitempty"` + LastModifiedByID *string `json:"LastModifiedByID,omitempty"` // Last Modified Date - LastModifiedDate string `json:"LastModifiedDate,omitempty"` + LastModifiedDate *string `json:"LastModifiedDate,omitempty"` // The Last Name - LastName string `json:"LastName,omitempty"` + LastName *string `json:"LastName,omitempty"` // LinkedIn - LinkedIn string `json:"LinkedIn,omitempty"` + LinkedIn *string `json:"LinkedIn,omitempty"` // Number of times user has logged in - LoginCount int64 `json:"LoginCount,omitempty"` + LoginCount *int64 `json:"LoginCount,omitempty"` // Manager - ManagerID string `json:"ManagerID,omitempty"` + ManagerID *string `json:"ManagerID,omitempty"` // Mobile - MobilePhone string `json:"MobilePhone,omitempty"` + MobilePhone *string `json:"MobilePhone,omitempty"` // Name - Name string `json:"Name,omitempty"` + Name *string `json:"Name,omitempty"` // Out of office message - OutOfOfficeMessage string `json:"OutOfOfficeMessage,omitempty"` + OutOfOfficeMessage *string `json:"OutOfOfficeMessage,omitempty"` // Phone - Phone string `json:"Phone,omitempty"` + Phone *string `json:"Phone,omitempty"` // Portal Role Level - PortalRole string `json:"PortalRole,omitempty"` + PortalRole *string `json:"PortalRole,omitempty"` // Profile - ProfileID string `json:"ProfileID,omitempty"` + ProfileID *string `json:"ProfileID,omitempty"` // Info Emails - ReceivesAdminEmails bool `json:"ReceivesAdminEmails,omitempty"` - - // Admin Info Emails - ReceivesAdminInfoEmails bool `json:"ReceivesAdminInfoEmails,omitempty"` + ReceivesAdminEmails *bool `json:"ReceivesAdminEmails,omitempty"` // Email Sender Address - SenderEmail string `json:"SenderEmail,omitempty"` + SenderEmail *string `json:"SenderEmail,omitempty"` // Email Sender Name - SenderName string `json:"SenderName,omitempty"` - - // Email Signature - Signature string `json:"Signature,omitempty"` + SenderName *string `json:"SenderName,omitempty"` // Small Photo URL - SmallPhotoURL string `json:"SmallPhotoURL,omitempty"` + SmallPhotoURL *string `json:"SmallPhotoURL,omitempty"` // The time day starts - StartOfDay string `json:"StartOfDay,omitempty"` + StartOfDay *string `json:"StartOfDay,omitempty"` // Onboarding Status - Status string `json:"Status,omitempty"` + Status *string `json:"Status,omitempty"` // Account - TaxnexusAccount string `json:"TaxnexusAccount,omitempty"` + TaxnexusAccount *string `json:"TaxnexusAccount,omitempty"` // Tenant ID associated with this user - TenantID string `json:"TenantID,omitempty"` + TenantID *string `json:"TenantID,omitempty"` // tenant users TenantUsers []*TenantUser `json:"TenantUsers"` // Time Zone - TimeZone string `json:"TimeZone,omitempty"` + TimeZone *string `json:"TimeZone,omitempty"` // Title - Title string `json:"Title,omitempty"` + Title *string `json:"Title,omitempty"` // Twitter - Twitter string `json:"Twitter,omitempty"` + Twitter *string `json:"Twitter,omitempty"` // Role - UserRoleID string `json:"UserRoleID,omitempty"` + UserRoleID *string `json:"UserRoleID,omitempty"` // user roles UserRoles []*UserRole `json:"UserRoles"` // User Type - UserType string `json:"UserType,omitempty"` + UserType *string `json:"UserType,omitempty"` // Username - Username string `json:"Username,omitempty"` + Username *string `json:"Username,omitempty"` } // Validate validates this user diff --git a/api/members/members_models/user_role.go b/api/members/members_models/user_role.go index 75359d0..ef94109 100644 --- a/api/members/members_models/user_role.go +++ b/api/members/members_models/user_role.go @@ -22,43 +22,43 @@ import ( type UserRole struct { // Account Id - AccountID string `json:"AccountID,omitempty"` + AccountID *string `json:"AccountID,omitempty"` // Linked role ID - Auth0RoleID string `json:"Auth0RoleID,omitempty"` + Auth0RoleID *string `json:"Auth0RoleID,omitempty"` // Auth0 User ID - Auth0UserID string `json:"Auth0UserID,omitempty"` + Auth0UserID *string `json:"Auth0UserID,omitempty"` // Company Name - CompanyName string `json:"CompanyName,omitempty"` + CompanyName *string `json:"CompanyName,omitempty"` // Contact ID - ContactID string `json:"ContactID,omitempty"` + ContactID *string `json:"ContactID,omitempty"` // Role description - RoleDescription string `json:"RoleDescription,omitempty"` + RoleDescription *string `json:"RoleDescription,omitempty"` // The Role ID - RoleID string `json:"RoleID,omitempty"` + RoleID *string `json:"RoleID,omitempty"` // Role Name - RoleName string `json:"RoleName,omitempty"` + RoleName *string `json:"RoleName,omitempty"` // Account Number - TaxnexusAccount string `json:"TaxnexusAccount,omitempty"` + TaxnexusAccount *string `json:"TaxnexusAccount,omitempty"` // User Email Address - UserEmail string `json:"UserEmail,omitempty"` + UserEmail *string `json:"UserEmail,omitempty"` // User Full Name - UserFullName string `json:"UserFullName,omitempty"` + UserFullName *string `json:"UserFullName,omitempty"` // The User ID - UserID string `json:"UserID,omitempty"` + UserID *string `json:"UserID,omitempty"` // Username - Username string `json:"Username,omitempty"` + Username *string `json:"Username,omitempty"` } // Validate validates this user role diff --git a/api/members/members_models/webhook_clerk_response.go b/api/members/members_models/webhook_clerk_response.go index 00cfa0d..ad96c2c 100644 --- a/api/members/members_models/webhook_clerk_response.go +++ b/api/members/members_models/webhook_clerk_response.go @@ -25,10 +25,10 @@ type WebhookClerkResponse struct { Data interface{} `json:"data,omitempty"` // object - Object string `json:"object,omitempty"` + Object *string `json:"object,omitempty"` // Clerk Name - Type string `json:"type,omitempty"` + Type *string `json:"type,omitempty"` } // Validate validates this webhook clerk response diff --git a/api/research/research_models/address.go b/api/research/research_models/address.go index fa74b45..d715882 100644 --- a/api/research/research_models/address.go +++ b/api/research/research_models/address.go @@ -22,25 +22,25 @@ import ( type Address struct { // City - City string `json:"City,omitempty"` + City *string `json:"City,omitempty"` // Country full name - Country string `json:"Country,omitempty"` + Country *string `json:"Country,omitempty"` // Country Code - CountryCode string `json:"CountryCode,omitempty"` + CountryCode *string `json:"CountryCode,omitempty"` // Postal Code - PostalCode string `json:"PostalCode,omitempty"` + PostalCode *string `json:"PostalCode,omitempty"` // State full name - State string `json:"State,omitempty"` + State *string `json:"State,omitempty"` // State Code - StateCode string `json:"StateCode,omitempty"` + StateCode *string `json:"StateCode,omitempty"` // Street number and name - Street string `json:"Street,omitempty"` + Street *string `json:"Street,omitempty"` } // Validate validates this address diff --git a/api/research/research_models/company_product.go b/api/research/research_models/company_product.go index 3ded8bf..46a1342 100644 --- a/api/research/research_models/company_product.go +++ b/api/research/research_models/company_product.go @@ -24,61 +24,61 @@ import ( type CompanyProduct struct { // ID of the Company that owns this Product - AccountID string `json:"AccountID,omitempty"` + AccountID *string `json:"AccountID,omitempty"` // Created By User ID - CreatedByID string `json:"CreatedByID,omitempty"` + CreatedByID *string `json:"CreatedByID,omitempty"` // Created Date - CreatedDate string `json:"CreatedDate,omitempty"` + CreatedDate *string `json:"CreatedDate,omitempty"` // Description of product - Description string `json:"Description,omitempty"` + Description *string `json:"Description,omitempty"` // Full Description of product - FullDescription string `json:"FullDescription,omitempty"` + FullDescription *string `json:"FullDescription,omitempty"` // Record Id ID string `json:"ID,omitempty"` // Image Alt Text - ImageAltText string `json:"ImageAltText,omitempty"` + ImageAltText *string `json:"ImageAltText,omitempty"` // Image URL - ImageURL string `json:"ImageURL,omitempty"` + ImageURL *string `json:"ImageURL,omitempty"` // Industries Industries []*Industry `json:"Industries"` // Last Modified By User ID - LastModifiedByID string `json:"LastModifiedByID,omitempty"` + LastModifiedByID *string `json:"LastModifiedByID,omitempty"` // Last Modified Date - LastModifiedDate string `json:"LastModifiedDate,omitempty"` + LastModifiedDate *string `json:"LastModifiedDate,omitempty"` // Logo - Logo string `json:"Logo,omitempty"` + Logo *string `json:"Logo,omitempty"` // Product Name - Name string `json:"Name,omitempty"` + Name *string `json:"Name,omitempty"` // Product Video ID - ProductVideoID string `json:"ProductVideoID,omitempty"` + ProductVideoID *string `json:"ProductVideoID,omitempty"` // Published - Published bool `json:"Published,omitempty"` + Published *bool `json:"Published,omitempty"` // Salesforce Specific - SalesforceSpecific bool `json:"SalesforceSpecific,omitempty"` + SalesforceSpecific *bool `json:"SalesforceSpecific,omitempty"` // Slug - Slug string `json:"Slug,omitempty"` + Slug *string `json:"Slug,omitempty"` // TagLine - TagLine string `json:"TagLine,omitempty"` + TagLine *string `json:"TagLine,omitempty"` // Website - URL string `json:"URL,omitempty"` + URL *string `json:"URL,omitempty"` } // Validate validates this company product diff --git a/api/research/research_models/factor.go b/api/research/research_models/factor.go index f30168a..d3ab8a4 100644 --- a/api/research/research_models/factor.go +++ b/api/research/research_models/factor.go @@ -24,34 +24,34 @@ import ( type Factor struct { // Created By User ID - CreatedByID string `json:"CreatedByID,omitempty"` + CreatedByID *string `json:"CreatedByID,omitempty"` // Created Date - CreatedDate string `json:"CreatedDate,omitempty"` + CreatedDate *string `json:"CreatedDate,omitempty"` // Topic Description - Description string `json:"Description,omitempty"` + Description *string `json:"Description,omitempty"` // Record Id ID string `json:"ID,omitempty"` // Last Modified By User ID - LastModifiedByID string `json:"LastModifiedByID,omitempty"` + LastModifiedByID *string `json:"LastModifiedByID,omitempty"` // Last Modified Date - LastModifiedDate string `json:"LastModifiedDate,omitempty"` + LastModifiedDate *string `json:"LastModifiedDate,omitempty"` // Factor Name - Name string `json:"Name,omitempty"` + Name *string `json:"Name,omitempty"` // The list of Observations used to analyze this industry Observations []*Observation `json:"Observations"` // The slug of the corresponding page on the CMS - Slug string `json:"Slug,omitempty"` + Slug *string `json:"Slug,omitempty"` // The ID of the Topic that owns this Factor - TopicID string `json:"TopicID,omitempty"` + TopicID *string `json:"TopicID,omitempty"` } // Validate validates this factor diff --git a/api/research/research_models/financial_statement.go b/api/research/research_models/financial_statement.go index 40b23c6..af8bafb 100644 --- a/api/research/research_models/financial_statement.go +++ b/api/research/research_models/financial_statement.go @@ -22,52 +22,52 @@ import ( type FinancialStatement struct { // EDGAR Access Number - AccessNumber string `json:"AccessNumber,omitempty"` + AccessNumber *string `json:"AccessNumber,omitempty"` // Account ID - AccountID string `json:"AccountID,omitempty"` + AccountID *string `json:"AccountID,omitempty"` // Cloud Revenue - CloudRevenue float64 `json:"CloudRevenue,omitempty"` + CloudRevenue *float64 `json:"CloudRevenue,omitempty"` // Created By User ID - CreatedByID string `json:"CreatedByID,omitempty"` + CreatedByID *string `json:"CreatedByID,omitempty"` // Created Date - CreatedDate string `json:"CreatedDate,omitempty"` + CreatedDate *string `json:"CreatedDate,omitempty"` // Description - Description string `json:"Description,omitempty"` + Description *string `json:"Description,omitempty"` // EDGAR URL - EdgarURL string `json:"EdgarURL,omitempty"` + EdgarURL *string `json:"EdgarURL,omitempty"` // Filing Type - FilingType string `json:"FilingType,omitempty"` + FilingType *string `json:"FilingType,omitempty"` // Gross Profit - GrossProfit float64 `json:"GrossProfit,omitempty"` + GrossProfit *float64 `json:"GrossProfit,omitempty"` // Record Id ID string `json:"ID,omitempty"` // Last Modified By User ID - LastModifiedByID string `json:"LastModifiedByID,omitempty"` + LastModifiedByID *string `json:"LastModifiedByID,omitempty"` // Last Modified Date - LastModifiedDate string `json:"LastModifiedDate,omitempty"` + LastModifiedDate *string `json:"LastModifiedDate,omitempty"` // Net Income - NetIncome float64 `json:"NetIncome,omitempty"` + NetIncome *float64 `json:"NetIncome,omitempty"` // Period End Date - PeriodEndDate string `json:"PeriodEndDate,omitempty"` + PeriodEndDate *string `json:"PeriodEndDate,omitempty"` // Total Revenue - TotalRevenue float64 `json:"TotalRevenue,omitempty"` + TotalRevenue *float64 `json:"TotalRevenue,omitempty"` // Year - Year string `json:"Year,omitempty"` + Year *string `json:"Year,omitempty"` } // Validate validates this financial statement diff --git a/api/research/research_models/industry.go b/api/research/research_models/industry.go index a5c15ad..5871a7c 100644 --- a/api/research/research_models/industry.go +++ b/api/research/research_models/industry.go @@ -27,52 +27,52 @@ type Industry struct { CompanyProducts []*CompanyProduct `json:"CompanyProducts"` // Created By User ID - CreatedByID string `json:"CreatedByID,omitempty"` + CreatedByID *string `json:"CreatedByID,omitempty"` // Created Date - CreatedDate string `json:"CreatedDate,omitempty"` + CreatedDate *string `json:"CreatedDate,omitempty"` // Industry Description - Description string `json:"Description,omitempty"` + Description *string `json:"Description,omitempty"` // Record Id ID string `json:"ID,omitempty"` // Image Alt Text - ImageAltText string `json:"ImageAltText,omitempty"` + ImageAltText *string `json:"ImageAltText,omitempty"` // Image URL - ImageURL string `json:"ImageURL,omitempty"` + ImageURL *string `json:"ImageURL,omitempty"` // Last Modified By User ID - LastModifiedByID string `json:"LastModifiedByID,omitempty"` + LastModifiedByID *string `json:"LastModifiedByID,omitempty"` // Last Modified Date - LastModifiedDate string `json:"LastModifiedDate,omitempty"` + LastModifiedDate *string `json:"LastModifiedDate,omitempty"` // The hierarchical level of this Industry - Level string `json:"Level,omitempty"` + Level *string `json:"Level,omitempty"` // Logo - Logo string `json:"Logo,omitempty"` + Logo *string `json:"Logo,omitempty"` // Industry Name - Name string `json:"Name,omitempty"` + Name *string `json:"Name,omitempty"` // The ID of the Parent Industry - ParentIndustryID string `json:"ParentIndustryID,omitempty"` + ParentIndustryID *string `json:"ParentIndustryID,omitempty"` // The full path of this industry, including Parent - Path string `json:"Path,omitempty"` + Path *string `json:"Path,omitempty"` // Is this industry a product category? - ProductCategory bool `json:"ProductCategory,omitempty"` + ProductCategory *bool `json:"ProductCategory,omitempty"` // The CMS Slug for this Industry - Slug string `json:"Slug,omitempty"` + Slug *string `json:"Slug,omitempty"` // TagLine - TagLine string `json:"TagLine,omitempty"` + TagLine *string `json:"TagLine,omitempty"` } // Validate validates this industry diff --git a/api/research/research_models/industry_company.go b/api/research/research_models/industry_company.go index 3e253cf..f1046db 100644 --- a/api/research/research_models/industry_company.go +++ b/api/research/research_models/industry_company.go @@ -22,28 +22,28 @@ import ( type IndustryCompany struct { // account ID - AccountID string `json:"AccountID,omitempty"` + AccountID *string `json:"AccountID,omitempty"` // Created By User ID - CreatedByID string `json:"CreatedByID,omitempty"` + CreatedByID *string `json:"CreatedByID,omitempty"` // Created Date - CreatedDate string `json:"CreatedDate,omitempty"` + CreatedDate *string `json:"CreatedDate,omitempty"` // Record Id ID string `json:"ID,omitempty"` // industry ID - IndustryID string `json:"IndustryID,omitempty"` + IndustryID *string `json:"IndustryID,omitempty"` // Last Modified By User ID - LastModifiedByID string `json:"LastModifiedByID,omitempty"` + LastModifiedByID *string `json:"LastModifiedByID,omitempty"` // Last Modified Date - LastModifiedDate string `json:"LastModifiedDate,omitempty"` + LastModifiedDate *string `json:"LastModifiedDate,omitempty"` // path - Path string `json:"Path,omitempty"` + Path *string `json:"Path,omitempty"` } // Validate validates this industry company diff --git a/api/research/research_models/industry_product.go b/api/research/research_models/industry_product.go index 0dd2d88..31337be 100644 --- a/api/research/research_models/industry_product.go +++ b/api/research/research_models/industry_product.go @@ -22,28 +22,28 @@ import ( type IndustryProduct struct { // company product ID - CompanyProductID string `json:"CompanyProductID,omitempty"` + CompanyProductID *string `json:"CompanyProductID,omitempty"` // Created By User ID - CreatedByID string `json:"CreatedByID,omitempty"` + CreatedByID *string `json:"CreatedByID,omitempty"` // Created Date - CreatedDate string `json:"CreatedDate,omitempty"` + CreatedDate *string `json:"CreatedDate,omitempty"` // HTML - HTML string `json:"HTML,omitempty"` + HTML *string `json:"HTML,omitempty"` // Record Id ID string `json:"ID,omitempty"` // industry ID - IndustryID string `json:"IndustryID,omitempty"` + IndustryID *string `json:"IndustryID,omitempty"` // Last Modified By User ID - LastModifiedByID string `json:"LastModifiedByID,omitempty"` + LastModifiedByID *string `json:"LastModifiedByID,omitempty"` // Last Modified Date - LastModifiedDate string `json:"LastModifiedDate,omitempty"` + LastModifiedDate *string `json:"LastModifiedDate,omitempty"` } // Validate validates this industry product diff --git a/api/research/research_models/observation.go b/api/research/research_models/observation.go index 5b347d0..1dd88bd 100644 --- a/api/research/research_models/observation.go +++ b/api/research/research_models/observation.go @@ -22,37 +22,37 @@ import ( type Observation struct { // The ID of the Company being analyzed - AccountID string `json:"AccountID,omitempty"` + AccountID *string `json:"AccountID,omitempty"` // The ID of the Product being analyzed - CompanyProductID string `json:"CompanyProductID,omitempty"` + CompanyProductID *string `json:"CompanyProductID,omitempty"` // Created By User ID - CreatedByID string `json:"CreatedByID,omitempty"` + CreatedByID *string `json:"CreatedByID,omitempty"` // Created Date - CreatedDate string `json:"CreatedDate,omitempty"` + CreatedDate *string `json:"CreatedDate,omitempty"` // Notes concerning data collection - Description string `json:"Description,omitempty"` + Description *string `json:"Description,omitempty"` // The ID of the Factor that owns this Observation - FactorID string `json:"FactorID,omitempty"` + FactorID *string `json:"FactorID,omitempty"` // Record Id ID string `json:"ID,omitempty"` // Last Modified By User ID - LastModifiedByID string `json:"LastModifiedByID,omitempty"` + LastModifiedByID *string `json:"LastModifiedByID,omitempty"` // Last Modified Date - LastModifiedDate string `json:"LastModifiedDate,omitempty"` + LastModifiedDate *string `json:"LastModifiedDate,omitempty"` // Is the subject a Company or a Product? - SubjectType string `json:"SubjectType,omitempty"` + SubjectType *string `json:"SubjectType,omitempty"` // The data point collected - Value string `json:"Value,omitempty"` + Value *string `json:"Value,omitempty"` } // Validate validates this observation diff --git a/api/research/research_models/topic.go b/api/research/research_models/topic.go index e3e01c6..c15e357 100644 --- a/api/research/research_models/topic.go +++ b/api/research/research_models/topic.go @@ -24,13 +24,13 @@ import ( type Topic struct { // Created By User ID - CreatedByID string `json:"CreatedByID,omitempty"` + CreatedByID *string `json:"CreatedByID,omitempty"` // Created Date - CreatedDate string `json:"CreatedDate,omitempty"` + CreatedDate *string `json:"CreatedDate,omitempty"` // Topic Description - Description string `json:"Description,omitempty"` + Description *string `json:"Description,omitempty"` // The list of Factors used to analyze this industry Factors []*Factor `json:"Factors"` @@ -39,19 +39,19 @@ type Topic struct { ID string `json:"ID,omitempty"` // Last Modified By User ID - LastModifiedByID string `json:"LastModifiedByID,omitempty"` + LastModifiedByID *string `json:"LastModifiedByID,omitempty"` // Last Modified Date - LastModifiedDate string `json:"LastModifiedDate,omitempty"` + LastModifiedDate *string `json:"LastModifiedDate,omitempty"` // Topic Name - Name string `json:"Name,omitempty"` + Name *string `json:"Name,omitempty"` // The ID of the Parent Topic - ParentTopicID string `json:"ParentTopicID,omitempty"` + ParentTopicID *string `json:"ParentTopicID,omitempty"` // The CMS Slug for this Topic - Slug string `json:"Slug,omitempty"` + Slug *string `json:"Slug,omitempty"` } // Validate validates this topic diff --git a/api/sfgate/sfgate_models/account.go b/api/sfgate/sfgate_models/account.go index b4b9a9b..e5bd10d 100644 --- a/api/sfgate/sfgate_models/account.go +++ b/api/sfgate/sfgate_models/account.go @@ -23,169 +23,169 @@ import ( type Account struct { // Account Number - AccountNumber string `json:"AccountNumber,omitempty"` + AccountNumber *string `json:"AccountNumber,omitempty"` // The marketing origin of this account - AccountSource string `json:"AccountSource,omitempty"` + AccountSource *string `json:"AccountSource,omitempty"` // active - Active bool `json:"Active,omitempty"` + Active *bool `json:"Active,omitempty"` // Annual Revenue Estimate - AnnualRevenue float64 `json:"AnnualRevenue,omitempty"` + AnnualRevenue *float64 `json:"AnnualRevenue,omitempty"` // billing address BillingAddress *Address `json:"BillingAddress,omitempty"` // Contact ID - BillingContactID string `json:"BillingContactID,omitempty"` + BillingContactID *string `json:"BillingContactID,omitempty"` - // Close Date - CloseDate string `json:"CloseDate,omitempty"` + // Closed Date + ClosedDate *string `json:"ClosedDate,omitempty"` // cloud revenue total - CloudRevenueTotal float64 `json:"CloudRevenueTotal,omitempty"` + CloudRevenueTotal *float64 `json:"CloudRevenueTotal,omitempty"` // The type of cloud company - CloudType string `json:"CloudType,omitempty"` + CloudType *string `json:"CloudType,omitempty"` // The year company started cloud revenue - CloudYear string `json:"CloudYear,omitempty"` + CloudYear *string `json:"CloudYear,omitempty"` // Created By User ID - CreatedByID string `json:"CreatedByID,omitempty"` + CreatedByID *string `json:"CreatedByID,omitempty"` // Created Date - CreatedDate string `json:"CreatedDate,omitempty"` + CreatedDate *string `json:"CreatedDate,omitempty"` // Crunchbase URL - CrunchbaseURL string `json:"CrunchbaseURL,omitempty"` + CrunchbaseURL *string `json:"CrunchbaseURL,omitempty"` // Description of the account - Description string `json:"Description,omitempty"` + Description *string `json:"Description,omitempty"` // e i n - EIN string `json:"EIN,omitempty"` + EIN *string `json:"EIN,omitempty"` // Earnings Call Date - EarningsCall string `json:"EarningsCall,omitempty"` + EarningsCall *string `json:"EarningsCall,omitempty"` // Main Account Email - Email string `json:"Email,omitempty"` + Email *string `json:"Email,omitempty"` // The amount of equity EquityFunding - EquityFunding float64 `json:"EquityFunding,omitempty"` + EquityFunding *float64 `json:"EquityFunding,omitempty"` // Company Facebook URL - Facebook string `json:"Facebook,omitempty"` + Facebook *string `json:"Facebook,omitempty"` // Fax number - Fax string `json:"Fax,omitempty"` + Fax *string `json:"Fax,omitempty"` // Date company founded - FoundedDate string `json:"FoundedDate,omitempty"` + FoundedDate *string `json:"FoundedDate,omitempty"` - // Taxnexus Account Id + // Account Id ID string `json:"ID,omitempty"` // IPO Date - IPODate string `json:"IPODate,omitempty"` + IPODate *string `json:"IPODate,omitempty"` // image alt text - ImageAltText string `json:"ImageAltText,omitempty"` + ImageAltText *string `json:"ImageAltText,omitempty"` // image URL - ImageURL string `json:"ImageURL,omitempty"` + ImageURL *string `json:"ImageURL,omitempty"` // Industries - Industries string `json:"Industries,omitempty"` + Industries *string `json:"Industries,omitempty"` // Industry - Industry string `json:"Industry,omitempty"` + Industry *string `json:"Industry,omitempty"` // Last Modified By User ID - LastModifiedByID string `json:"LastModifiedByID,omitempty"` + LastModifiedByID *string `json:"LastModifiedByID,omitempty"` // Last Modified Date - LastModifiedDate string `json:"LastModifiedDate,omitempty"` + LastModifiedDate *string `json:"LastModifiedDate,omitempty"` // Company LinkedIn URL - LinkedIn string `json:"LinkedIn,omitempty"` + LinkedIn *string `json:"LinkedIn,omitempty"` // Headquarters Location Description - Location string `json:"Location,omitempty"` + Location *string `json:"Location,omitempty"` // Company Logo URL - Logo string `json:"Logo,omitempty"` + Logo *string `json:"Logo,omitempty"` // Market Capitalization - MarketCapitalization float64 `json:"MarketCapitalization,omitempty"` + MarketCapitalization *float64 `json:"MarketCapitalization,omitempty"` // Account Name - Name string `json:"Name,omitempty"` + Name *string `json:"Name,omitempty"` // Number of Investments - NumberInvestments float64 `json:"NumberInvestments,omitempty"` + NumberInvestments *float64 `json:"NumberInvestments,omitempty"` // Employee Count Estimate - NumberOfEmployees int64 `json:"NumberOfEmployees,omitempty"` + NumberOfEmployees *int64 `json:"NumberOfEmployees,omitempty"` // Account Owner User ID - OwnerID string `json:"OwnerID,omitempty"` + OwnerID *string `json:"OwnerID,omitempty"` // Ownership - Ownership string `json:"Ownership,omitempty"` + Ownership *string `json:"Ownership,omitempty"` // Parent Account - ParentID string `json:"ParentID,omitempty"` + ParentID *string `json:"ParentID,omitempty"` // Phone - Phone string `json:"Phone,omitempty"` + Phone *string `json:"Phone,omitempty"` // Publish this record? - Publish bool `json:"Publish,omitempty"` + Publish *bool `json:"Publish,omitempty"` // SIC Code - SIC string `json:"SIC,omitempty"` + SIC *string `json:"SIC,omitempty"` // SIC Description - SICDesc string `json:"SICDesc,omitempty"` + SICDesc *string `json:"SICDesc,omitempty"` // A Salesforce-First company? - SalesforceFirst bool `json:"SalesforceFirst,omitempty"` + SalesforceFirst *bool `json:"SalesforceFirst,omitempty"` // shipping address ShippingAddress *Address `json:"ShippingAddress,omitempty"` // Shipping Contact ID - ShippingContactID string `json:"ShippingContactID,omitempty"` + ShippingContactID *string `json:"ShippingContactID,omitempty"` // Account Site - Site string `json:"Site,omitempty"` + Site *string `json:"Site,omitempty"` // Slug - Slug string `json:"Slug,omitempty"` + Slug *string `json:"Slug,omitempty"` // Company tagline - TagLine string `json:"TagLine,omitempty"` + TagLine *string `json:"TagLine,omitempty"` // Tenant Identifier - TenantID string `json:"TenantID,omitempty"` + TenantID *string `json:"TenantID,omitempty"` // Ticker Symbol - TickerSymbol string `json:"TickerSymbol,omitempty"` + TickerSymbol *string `json:"TickerSymbol,omitempty"` // Twitter URL - Twitter string `json:"Twitter,omitempty"` + Twitter *string `json:"Twitter,omitempty"` // Type - Type string `json:"Type,omitempty"` + Type *string `json:"Type,omitempty"` // Website - Website string `json:"Website,omitempty"` + Website *string `json:"Website,omitempty"` // Year Started - YearStarted string `json:"YearStarted,omitempty"` + YearStarted *string `json:"YearStarted,omitempty"` } // Validate validates this account diff --git a/api/sfgate/sfgate_models/address.go b/api/sfgate/sfgate_models/address.go index 6eddd39..edfc31d 100644 --- a/api/sfgate/sfgate_models/address.go +++ b/api/sfgate/sfgate_models/address.go @@ -22,25 +22,25 @@ import ( type Address struct { // City - City string `json:"City,omitempty"` + City *string `json:"City,omitempty"` // Country full name - Country string `json:"Country,omitempty"` + Country *string `json:"Country,omitempty"` // Country Code - CountryCode string `json:"CountryCode,omitempty"` + CountryCode *string `json:"CountryCode,omitempty"` // Postal Code - PostalCode string `json:"PostalCode,omitempty"` + PostalCode *string `json:"PostalCode,omitempty"` // State full name - State string `json:"State,omitempty"` + State *string `json:"State,omitempty"` // State Code - StateCode string `json:"StateCode,omitempty"` + StateCode *string `json:"StateCode,omitempty"` // Street number and name - Street string `json:"Street,omitempty"` + Street *string `json:"Street,omitempty"` } // Validate validates this address diff --git a/api/sfgate/sfgate_models/asset.go b/api/sfgate/sfgate_models/asset.go index 151a656..b5509be 100644 --- a/api/sfgate/sfgate_models/asset.go +++ b/api/sfgate/sfgate_models/asset.go @@ -23,142 +23,142 @@ import ( type Asset struct { // Account - AccountID string `json:"AccountID,omitempty"` + AccountID *string `json:"AccountID,omitempty"` // address Address *Address `json:"Address,omitempty"` // Asset Level - AssetLevel float64 `json:"AssetLevel,omitempty"` + AssetLevel *float64 `json:"AssetLevel,omitempty"` // Asset Provided By - AssetProvidedByID string `json:"AssetProvidedByID,omitempty"` + AssetProvidedByID *string `json:"AssetProvidedByID,omitempty"` // Asset Serviced By - AssetServicedByID string `json:"AssetServicedByID,omitempty"` + AssetServicedByID *string `json:"AssetServicedByID,omitempty"` // Company Product - CompanyProductID string `json:"CompanyProductID,omitempty"` + CompanyProductID *string `json:"CompanyProductID,omitempty"` // Consequence Of Failure - ConsequenceOfFailure string `json:"ConsequenceOfFailure,omitempty"` + ConsequenceOfFailure *string `json:"ConsequenceOfFailure,omitempty"` // Contact - ContactID string `json:"ContactID,omitempty"` + ContactID *string `json:"ContactID,omitempty"` // Created By - CreatedByID string `json:"CreatedByID,omitempty"` + CreatedByID *string `json:"CreatedByID,omitempty"` // Created Date - CreatedDate string `json:"CreatedDate,omitempty"` + CreatedDate *string `json:"CreatedDate,omitempty"` // Current Amount - CurrentAmount float64 `json:"CurrentAmount,omitempty"` + CurrentAmount *float64 `json:"CurrentAmount,omitempty"` // Current Lifecycle End Date - CurrentLifecycleEndDate string `json:"CurrentLifecycleEndDate,omitempty"` + CurrentLifecycleEndDate *string `json:"CurrentLifecycleEndDate,omitempty"` // Current Monthly Recurring Revenue - CurrentMrr float64 `json:"CurrentMrr,omitempty"` + CurrentMrr *float64 `json:"CurrentMrr,omitempty"` // Current Quantity - CurrentQuantity float64 `json:"CurrentQuantity,omitempty"` + CurrentQuantity *float64 `json:"CurrentQuantity,omitempty"` // Description - Description string `json:"Description,omitempty"` + Description *string `json:"Description,omitempty"` // Digital Asset Status - DigitalAssetStatus string `json:"DigitalAssetStatus,omitempty"` + DigitalAssetStatus *string `json:"DigitalAssetStatus,omitempty"` // External Id - ExternalIdentifier string `json:"ExternalIdentifier,omitempty"` + ExternalIdentifier *string `json:"ExternalIdentifier,omitempty"` // Has Lifecycle Management - HasLifecycleManagement bool `json:"HasLifecycleManagement,omitempty"` + HasLifecycleManagement *bool `json:"HasLifecycleManagement,omitempty"` // Record Id ID string `json:"ID,omitempty"` // Install Date - InstallDate string `json:"InstallDate,omitempty"` + InstallDate *string `json:"InstallDate,omitempty"` // Competitor Asset - IsCompetitorProduct bool `json:"IsCompetitorProduct,omitempty"` + IsCompetitorProduct *bool `json:"IsCompetitorProduct,omitempty"` // Internal Asset - IsInternal bool `json:"IsInternal,omitempty"` + IsInternal *bool `json:"IsInternal,omitempty"` // Last Modified By - LastModifiedByID string `json:"LastModifiedByID,omitempty"` + LastModifiedByID *string `json:"LastModifiedByID,omitempty"` // Last Modified Date - LastModifiedDate string `json:"LastModifiedDate,omitempty"` + LastModifiedDate *string `json:"LastModifiedDate,omitempty"` // Location - LocationID string `json:"LocationID,omitempty"` + LocationID *string `json:"LocationID,omitempty"` // MIME Type - MIMEType string `json:"MIMEType,omitempty"` + MIMEType *string `json:"MIMEType,omitempty"` // Manufacture Date - ManufactureDate string `json:"ManufactureDate,omitempty"` + ManufactureDate *string `json:"ManufactureDate,omitempty"` // Asset Name - Name string `json:"Name,omitempty"` + Name *string `json:"Name,omitempty"` // Parent Asset - ParentID string `json:"ParentID,omitempty"` + ParentID *string `json:"ParentID,omitempty"` // Price - Price float64 `json:"Price,omitempty"` + Price *float64 `json:"Price,omitempty"` // Product - Product2ID string `json:"Product2ID,omitempty"` + Product2ID *string `json:"Product2ID,omitempty"` // Product Code - ProductCode string `json:"ProductCode,omitempty"` + ProductCode *string `json:"ProductCode,omitempty"` // Product Description - ProductDescription string `json:"ProductDescription,omitempty"` + ProductDescription *string `json:"ProductDescription,omitempty"` // Product Family - ProductFamily string `json:"ProductFamily,omitempty"` + ProductFamily *string `json:"ProductFamily,omitempty"` // Purchase Date - PurchaseDate string `json:"PurchaseDate,omitempty"` + PurchaseDate *string `json:"PurchaseDate,omitempty"` // Quantity - Quantity float64 `json:"Quantity,omitempty"` + Quantity *float64 `json:"Quantity,omitempty"` // Root Asset - RootAssetID string `json:"RootAssetID,omitempty"` + RootAssetID *string `json:"RootAssetID,omitempty"` // Serial Number - SerialNumber string `json:"SerialNumber,omitempty"` + SerialNumber *string `json:"SerialNumber,omitempty"` // Status - Status string `json:"Status,omitempty"` + Status *string `json:"Status,omitempty"` // Status Reason - StatusReason string `json:"StatusReason,omitempty"` + StatusReason *string `json:"StatusReason,omitempty"` // Product SKU - StockKeepingUnit string `json:"StockKeepingUnit,omitempty"` + StockKeepingUnit *string `json:"StockKeepingUnit,omitempty"` // Tenant ID - TenantID string `json:"TenantID,omitempty"` + TenantID *string `json:"TenantID,omitempty"` // Total Lifecycle Amount - TotalLifecycleAmount float64 `json:"TotalLifecycleAmount,omitempty"` + TotalLifecycleAmount *float64 `json:"TotalLifecycleAmount,omitempty"` // Type - Type string `json:"Type,omitempty"` + Type *string `json:"Type,omitempty"` // URL - URL string `json:"URL,omitempty"` + URL *string `json:"URL,omitempty"` // Usage End Date - UsageEndDate string `json:"UsageEndDate,omitempty"` + UsageEndDate *string `json:"UsageEndDate,omitempty"` } // Validate validates this asset diff --git a/api/sfgate/sfgate_models/cluster.go b/api/sfgate/sfgate_models/cluster.go index 9db0568..f6a094e 100644 --- a/api/sfgate/sfgate_models/cluster.go +++ b/api/sfgate/sfgate_models/cluster.go @@ -22,55 +22,55 @@ import ( type Cluster struct { // Created By - CreatedByID string `json:"CreatedByID,omitempty"` + CreatedByID *string `json:"CreatedByID,omitempty"` // Created Date - CreatedDate string `json:"CreatedDate,omitempty"` + CreatedDate *string `json:"CreatedDate,omitempty"` // Description - Description string `json:"Description,omitempty"` + Description *string `json:"Description,omitempty"` // Environment - Environment string `json:"Environment,omitempty"` + Environment *string `json:"Environment,omitempty"` // Gateway - Gateway string `json:"Gateway,omitempty"` + Gateway *string `json:"Gateway,omitempty"` // Record Id ID string `json:"ID,omitempty"` // IP Address - IPAddress string `json:"IpAddress,omitempty"` + IPAddress *string `json:"IpAddress,omitempty"` // Last Modified By - LastModifiedByID string `json:"LastModifiedByID,omitempty"` + LastModifiedByID *string `json:"LastModifiedByID,omitempty"` // Last Modified Date - LastModifiedDate string `json:"LastModifiedDate,omitempty"` + LastModifiedDate *string `json:"LastModifiedDate,omitempty"` // Cluster Name - Name string `json:"Name,omitempty"` + Name *string `json:"Name,omitempty"` // Owner - OwnerID string `json:"OwnerID,omitempty"` + OwnerID *string `json:"OwnerID,omitempty"` // External Reference - Ref string `json:"Ref,omitempty"` + Ref *string `json:"Ref,omitempty"` // Status - Status string `json:"Status,omitempty"` + Status *string `json:"Status,omitempty"` // Subnet - Subnet string `json:"Subnet,omitempty"` + Subnet *string `json:"Subnet,omitempty"` // tenantid - TenantID string `json:"TenantID,omitempty"` + TenantID *string `json:"TenantID,omitempty"` // Type - Type string `json:"Type,omitempty"` + Type *string `json:"Type,omitempty"` // Zone - Zone string `json:"Zone,omitempty"` + Zone *string `json:"Zone,omitempty"` } // Validate validates this cluster diff --git a/api/sfgate/sfgate_models/company_product.go b/api/sfgate/sfgate_models/company_product.go index d65d282..a723555 100644 --- a/api/sfgate/sfgate_models/company_product.go +++ b/api/sfgate/sfgate_models/company_product.go @@ -25,55 +25,55 @@ type CompanyProduct struct { AccountID string `json:"AccountID,omitempty"` // Created By User ID - CreatedByID string `json:"CreatedByID,omitempty"` + CreatedByID *string `json:"CreatedByID,omitempty"` // Created Date - CreatedDate string `json:"CreatedDate,omitempty"` + CreatedDate *string `json:"CreatedDate,omitempty"` // Description of product - Description string `json:"Description,omitempty"` + Description *string `json:"Description,omitempty"` // Full Description of product - FullDescription string `json:"FullDescription,omitempty"` + FullDescription *string `json:"FullDescription,omitempty"` // Record Id ID string `json:"ID,omitempty"` // Image Alt Text - ImageAltText string `json:"ImageAltText,omitempty"` + ImageAltText *string `json:"ImageAltText,omitempty"` // Image URL - ImageURL string `json:"ImageURL,omitempty"` + ImageURL *string `json:"ImageURL,omitempty"` // Last Modified By User ID - LastModifiedByID string `json:"LastModifiedByID,omitempty"` + LastModifiedByID *string `json:"LastModifiedByID,omitempty"` // Last Modified Date - LastModifiedDate string `json:"LastModifiedDate,omitempty"` + LastModifiedDate *string `json:"LastModifiedDate,omitempty"` // Logo - Logo string `json:"Logo,omitempty"` + Logo *string `json:"Logo,omitempty"` // Product Name - Name string `json:"Name,omitempty"` + Name *string `json:"Name,omitempty"` // Product Video ID - ProductVideoID string `json:"ProductVideoID,omitempty"` + ProductVideoID *string `json:"ProductVideoID,omitempty"` // Published - Published bool `json:"Published,omitempty"` + Published *bool `json:"Published,omitempty"` // Salesforce Specific - SalesforceSpecific bool `json:"SalesforceSpecific,omitempty"` + SalesforceSpecific *bool `json:"SalesforceSpecific,omitempty"` // Slug - Slug string `json:"Slug,omitempty"` + Slug *string `json:"Slug,omitempty"` // TagLine - TagLine string `json:"TagLine,omitempty"` + TagLine *string `json:"TagLine,omitempty"` // Website - URL string `json:"URL,omitempty"` + URL *string `json:"URL,omitempty"` } // Validate validates this company product diff --git a/api/sfgate/sfgate_models/contact.go b/api/sfgate/sfgate_models/contact.go index 2c77bdd..8068de9 100644 --- a/api/sfgate/sfgate_models/contact.go +++ b/api/sfgate/sfgate_models/contact.go @@ -23,130 +23,130 @@ import ( type Contact struct { // The primary account ID of this contact - AccountID string `json:"AccountID,omitempty"` + AccountID *string `json:"AccountID,omitempty"` // Assistant Name - AssistantName string `json:"AssistantName,omitempty"` + AssistantName *string `json:"AssistantName,omitempty"` // Asst. Phone - AssistantPhone string `json:"AssistantPhone,omitempty"` + AssistantPhone *string `json:"AssistantPhone,omitempty"` // Birthdate - BirthDate string `json:"BirthDate,omitempty"` + BirthDate *string `json:"BirthDate,omitempty"` // Created By User ID - CreatedByID string `json:"CreatedByID,omitempty"` + CreatedByID *string `json:"CreatedByID,omitempty"` // Created Date - CreatedDate string `json:"CreatedDate,omitempty"` + CreatedDate *string `json:"CreatedDate,omitempty"` // Crunchbase URL - CrunchbaseURL string `json:"CrunchbaseURL,omitempty"` + CrunchbaseURL *string `json:"CrunchbaseURL,omitempty"` // Department - Department string `json:"Department,omitempty"` + Department *string `json:"Department,omitempty"` // Description - Description string `json:"Description,omitempty"` + Description *string `json:"Description,omitempty"` // Do Not Call? - DoNotCall bool `json:"DoNotCall,omitempty"` + DoNotCall *bool `json:"DoNotCall,omitempty"` // Email address - Email string `json:"Email,omitempty"` + Email *string `json:"Email,omitempty"` // Email Bounce Date - EmailBounceDate string `json:"EmailBounceDate,omitempty"` + EmailBounceDate *string `json:"EmailBounceDate,omitempty"` // Email Bounce Reason - EmailBounceReason string `json:"EmailBounceReason,omitempty"` + EmailBounceReason *string `json:"EmailBounceReason,omitempty"` // Fax Number - Facebook string `json:"Facebook,omitempty"` + Facebook *string `json:"Facebook,omitempty"` // fax - Fax string `json:"Fax,omitempty"` + Fax *string `json:"Fax,omitempty"` // First Name - FirstName string `json:"FirstName,omitempty"` + FirstName *string `json:"FirstName,omitempty"` // Email Opt Out - HasOptedOutOfEmail bool `json:"HasOptedOutOfEmail,omitempty"` + HasOptedOutOfEmail *bool `json:"HasOptedOutOfEmail,omitempty"` // Fax Opt Out - HasOptedOutOfFax bool `json:"HasOptedOutOfFax,omitempty"` + HasOptedOutOfFax *bool `json:"HasOptedOutOfFax,omitempty"` // Home Phone - HomePhone string `json:"HomePhone,omitempty"` + HomePhone *string `json:"HomePhone,omitempty"` // Record Id ID string `json:"ID,omitempty"` // Does this contact have bounced emails? - IsEmailBounced bool `json:"IsEmailBounced,omitempty"` + IsEmailBounced *bool `json:"IsEmailBounced,omitempty"` // Last Modified By User ID - LastModifiedByID string `json:"LastModifiedByID,omitempty"` + LastModifiedByID *string `json:"LastModifiedByID,omitempty"` // Last Modified Date - LastModifiedDate string `json:"LastModifiedDate,omitempty"` + LastModifiedDate *string `json:"LastModifiedDate,omitempty"` // Last Name - LastName string `json:"LastName,omitempty"` + LastName *string `json:"LastName,omitempty"` // Lead Source - LeadSource string `json:"LeadSource,omitempty"` + LeadSource *string `json:"LeadSource,omitempty"` // LinkedIn Page - LinkedIn string `json:"LinkedIn,omitempty"` + LinkedIn *string `json:"LinkedIn,omitempty"` // mailing address MailingAddress *Address `json:"MailingAddress,omitempty"` // Mobile Phone - MobilePhone string `json:"MobilePhone,omitempty"` + MobilePhone *string `json:"MobilePhone,omitempty"` // Full Name - Name string `json:"Name,omitempty"` + Name *string `json:"Name,omitempty"` // Number of Investments - NumberInvestments float64 `json:"NumberInvestments,omitempty"` + NumberInvestments *float64 `json:"NumberInvestments,omitempty"` // other address OtherAddress *Address `json:"OtherAddress,omitempty"` // Other Phone - OtherPhone string `json:"OtherPhone,omitempty"` + OtherPhone *string `json:"OtherPhone,omitempty"` // The User ID of the user who owns this Contact - OwnerID string `json:"OwnerID,omitempty"` + OwnerID *string `json:"OwnerID,omitempty"` // Personal Email Address for this Contact - PersonalEmail string `json:"PersonalEmail,omitempty"` + PersonalEmail *string `json:"PersonalEmail,omitempty"` // Phone Number - Phone string `json:"Phone,omitempty"` + Phone *string `json:"Phone,omitempty"` // URL of a photograph of this User - PhotoURL string `json:"PhotoURL,omitempty"` + PhotoURL *string `json:"PhotoURL,omitempty"` // Reports To User ID - ReportsToID string `json:"ReportsToID,omitempty"` + ReportsToID *string `json:"ReportsToID,omitempty"` // Salutation - Salutation string `json:"Salutation,omitempty"` + Salutation *string `json:"Salutation,omitempty"` // Slug - Slug string `json:"Slug,omitempty"` + Slug *string `json:"Slug,omitempty"` // tenant identifier - TenantID string `json:"TenantID,omitempty"` + TenantID *string `json:"TenantID,omitempty"` // Contact Title - Title string `json:"Title,omitempty"` + Title *string `json:"Title,omitempty"` // twitter - Twitter string `json:"Twitter,omitempty"` + Twitter *string `json:"Twitter,omitempty"` } // Validate validates this contact diff --git a/api/sfgate/sfgate_models/contract.go b/api/sfgate/sfgate_models/contract.go index f14c38b..b3d9eaf 100644 --- a/api/sfgate/sfgate_models/contract.go +++ b/api/sfgate/sfgate_models/contract.go @@ -23,97 +23,97 @@ import ( type Contract struct { // Account - AccountID string `json:"AccountID,omitempty"` + AccountID *string `json:"AccountID,omitempty"` // Activated By - ActivatedByID string `json:"ActivatedByID,omitempty"` + ActivatedByID *string `json:"ActivatedByID,omitempty"` // Activated Date - ActivatedDate string `json:"ActivatedDate,omitempty"` + ActivatedDate *string `json:"ActivatedDate,omitempty"` // Billing Address BillingAddress *Address `json:"BillingAddress,omitempty"` // Billing Contact - BillingContactID string `json:"BillingContactID,omitempty"` + BillingContactID *string `json:"BillingContactID,omitempty"` // Company Signed Date - CompanySignedDate string `json:"CompanySignedDate,omitempty"` + CompanySignedDate *string `json:"CompanySignedDate,omitempty"` // Company Signed By - CompanySignedID string `json:"CompanySignedID,omitempty"` + CompanySignedID *string `json:"CompanySignedID,omitempty"` // Contract Number - ContractNumber string `json:"ContractNumber,omitempty"` + ContractNumber *string `json:"ContractNumber,omitempty"` // Contract Term (months) - ContractTerm float64 `json:"ContractTerm,omitempty"` + ContractTerm *float64 `json:"ContractTerm,omitempty"` // Created By User ID - CreatedByID string `json:"CreatedByID,omitempty"` + CreatedByID *string `json:"CreatedByID,omitempty"` // Created Date - CreatedDate string `json:"CreatedDate,omitempty"` + CreatedDate *string `json:"CreatedDate,omitempty"` // Customer Signed Date - CustomerSignedDate string `json:"CustomerSignedDate,omitempty"` + CustomerSignedDate *string `json:"CustomerSignedDate,omitempty"` // Customer Signed By - CustomerSignedID string `json:"CustomerSignedID,omitempty"` + CustomerSignedID *string `json:"CustomerSignedID,omitempty"` // Customer Signed Title - CustomerSignedTitle string `json:"CustomerSignedTitle,omitempty"` + CustomerSignedTitle *string `json:"CustomerSignedTitle,omitempty"` // End User - DefaultEndUserID string `json:"DefaultEndUserID,omitempty"` + DefaultEndUserID *string `json:"DefaultEndUserID,omitempty"` // Description - Description string `json:"Description,omitempty"` + Description *string `json:"Description,omitempty"` // Contract End Date - EndDate string `json:"EndDate,omitempty"` + EndDate *string `json:"EndDate,omitempty"` // End User - EndUserID string `json:"EndUserID,omitempty"` + EndUserID *string `json:"EndUserID,omitempty"` // Hourly Rate - HourlyRate float64 `json:"HourlyRate,omitempty"` + HourlyRate *float64 `json:"HourlyRate,omitempty"` // Telnexus Record Id ID string `json:"ID,omitempty"` // Last Modified By User ID - LastModifiedByID string `json:"LastModifiedByID,omitempty"` + LastModifiedByID *string `json:"LastModifiedByID,omitempty"` // Last Modified Date - LastModifiedDate string `json:"LastModifiedDate,omitempty"` + LastModifiedDate *string `json:"LastModifiedDate,omitempty"` // Contract Name - Name string `json:"Name,omitempty"` + Name *string `json:"Name,omitempty"` // Payment Method - PaymentMethodID string `json:"PaymentMethodID,omitempty"` + PaymentMethodID *string `json:"PaymentMethodID,omitempty"` // Payment Terms - PaymentTerms string `json:"PaymentTerms,omitempty"` + PaymentTerms *string `json:"PaymentTerms,omitempty"` // Perpetual Agreement? - Perpetual bool `json:"Perpetual,omitempty"` + Perpetual *bool `json:"Perpetual,omitempty"` // Shipping Address ShippingAddress *Address `json:"ShippingAddress,omitempty"` // Shipping Contact - ShippingContactID string `json:"ShippingContactID,omitempty"` + ShippingContactID *string `json:"ShippingContactID,omitempty"` // Contract Start Date - StartDate string `json:"StartDate,omitempty"` + StartDate *string `json:"StartDate,omitempty"` // Status - Status string `json:"Status,omitempty"` + Status *string `json:"Status,omitempty"` // Tenant Identifier - TenantID string `json:"TenantID,omitempty"` + TenantID *string `json:"TenantID,omitempty"` } // Validate validates this contract diff --git a/api/sfgate/sfgate_models/database.go b/api/sfgate/sfgate_models/database.go index 4883a10..696a68d 100644 --- a/api/sfgate/sfgate_models/database.go +++ b/api/sfgate/sfgate_models/database.go @@ -22,43 +22,43 @@ import ( type Database struct { // Is this database active? - Active bool `json:"Active,omitempty"` + Active *bool `json:"Active,omitempty"` // The ID of the Cluster in which this database is deployed - ClusterID string `json:"ClusterID,omitempty"` + ClusterID *string `json:"ClusterID,omitempty"` // Created By - CreatedByID string `json:"CreatedByID,omitempty"` + CreatedByID *string `json:"CreatedByID,omitempty"` // Created Date - CreatedDate string `json:"CreatedDate,omitempty"` + CreatedDate *string `json:"CreatedDate,omitempty"` // Database connection string - DSN string `json:"DSN,omitempty"` + DSN *string `json:"DSN,omitempty"` // The name of the physical database in the cluster - DatabaseName string `json:"DatabaseName,omitempty"` + DatabaseName *string `json:"DatabaseName,omitempty"` // Record Id ID string `json:"ID,omitempty"` // Last Modified By - LastModifiedByID string `json:"LastModifiedByID,omitempty"` + LastModifiedByID *string `json:"LastModifiedByID,omitempty"` // Last Modifed Date - LastModifiedDate string `json:"LastModifiedDate,omitempty"` + LastModifiedDate *string `json:"LastModifiedDate,omitempty"` // List of microservices implemented by this Database - Microservices string `json:"Microservices,omitempty"` + Microservices *string `json:"Microservices,omitempty"` // The current status of this Tenant - Status string `json:"Status,omitempty"` + Status *string `json:"Status,omitempty"` // The ID of the tenant who owns this Database - TenantID string `json:"TenantID,omitempty"` + TenantID *string `json:"TenantID,omitempty"` // The type of Database (mysql, etc) - Type string `json:"Type,omitempty"` + Type *string `json:"Type,omitempty"` } // Validate validates this database diff --git a/api/sfgate/sfgate_models/factor.go b/api/sfgate/sfgate_models/factor.go index e490194..433f2a4 100644 --- a/api/sfgate/sfgate_models/factor.go +++ b/api/sfgate/sfgate_models/factor.go @@ -24,34 +24,34 @@ import ( type Factor struct { // Created By User ID - CreatedByID string `json:"CreatedByID,omitempty"` + CreatedByID *string `json:"CreatedByID,omitempty"` // Created Date - CreatedDate string `json:"CreatedDate,omitempty"` + CreatedDate *string `json:"CreatedDate,omitempty"` // Topic Description - Description string `json:"Description,omitempty"` + Description *string `json:"Description,omitempty"` // Record Id ID string `json:"ID,omitempty"` // Last Modified By User ID - LastModifiedByID string `json:"LastModifiedByID,omitempty"` + LastModifiedByID *string `json:"LastModifiedByID,omitempty"` // Last Modified Date - LastModifiedDate string `json:"LastModifiedDate,omitempty"` + LastModifiedDate *string `json:"LastModifiedDate,omitempty"` // Factor Name - Name string `json:"Name,omitempty"` + Name *string `json:"Name,omitempty"` // The list of Observations used to analyze this industry Observations []*Observation `json:"Observations"` // The slug of the corresponding page on the CMS - Slug string `json:"Slug,omitempty"` + Slug *string `json:"Slug,omitempty"` // The ID of the Topic that owns this Factor - TopicID string `json:"TopicID,omitempty"` + TopicID *string `json:"TopicID,omitempty"` } // Validate validates this factor diff --git a/api/sfgate/sfgate_models/financial_statement.go b/api/sfgate/sfgate_models/financial_statement.go index 99cea86..c92b7e7 100644 --- a/api/sfgate/sfgate_models/financial_statement.go +++ b/api/sfgate/sfgate_models/financial_statement.go @@ -22,52 +22,52 @@ import ( type FinancialStatement struct { // EDGAR Access Number - AccessNumber string `json:"AccessNumber,omitempty"` + AccessNumber *string `json:"AccessNumber,omitempty"` // Account ID - AccountID string `json:"AccountID,omitempty"` + AccountID *string `json:"AccountID,omitempty"` // Cloud Revenue - CloudRevenue float64 `json:"CloudRevenue,omitempty"` + CloudRevenue *float64 `json:"CloudRevenue,omitempty"` // Created By User ID - CreatedByID string `json:"CreatedByID,omitempty"` + CreatedByID *string `json:"CreatedByID,omitempty"` // Created Date - CreatedDate string `json:"CreatedDate,omitempty"` + CreatedDate *string `json:"CreatedDate,omitempty"` // Description - Description string `json:"Description,omitempty"` + Description *string `json:"Description,omitempty"` // EDGAR URL - EdgarURL string `json:"EdgarURL,omitempty"` + EdgarURL *string `json:"EdgarURL,omitempty"` // Filing Type - FilingType string `json:"FilingType,omitempty"` + FilingType *string `json:"FilingType,omitempty"` // Gross Profit - GrossProfit float64 `json:"GrossProfit,omitempty"` + GrossProfit *float64 `json:"GrossProfit,omitempty"` // Record Id ID string `json:"ID,omitempty"` // Last Modified By User ID - LastModifiedByID string `json:"LastModifiedByID,omitempty"` + LastModifiedByID *string `json:"LastModifiedByID,omitempty"` // Last Modified Date - LastModifiedDate string `json:"LastModifiedDate,omitempty"` + LastModifiedDate *string `json:"LastModifiedDate,omitempty"` // Net Income - NetIncome float64 `json:"NetIncome,omitempty"` + NetIncome *float64 `json:"NetIncome,omitempty"` // Period End Date - PeriodEndDate string `json:"PeriodEndDate,omitempty"` + PeriodEndDate *string `json:"PeriodEndDate,omitempty"` // Total Revenue - TotalRevenue float64 `json:"TotalRevenue,omitempty"` + TotalRevenue *float64 `json:"TotalRevenue,omitempty"` // Year - Year string `json:"Year,omitempty"` + Year *string `json:"Year,omitempty"` } // Validate validates this financial statement diff --git a/api/sfgate/sfgate_models/industry.go b/api/sfgate/sfgate_models/industry.go index cab9bfc..f20b296 100644 --- a/api/sfgate/sfgate_models/industry.go +++ b/api/sfgate/sfgate_models/industry.go @@ -30,55 +30,55 @@ type Industry struct { CompanyProducts []*CompanyProduct `json:"CompanyProducts"` // Created By User ID - CreatedByID string `json:"CreatedByID,omitempty"` + CreatedByID *string `json:"CreatedByID,omitempty"` // Created Date - CreatedDate string `json:"CreatedDate,omitempty"` + CreatedDate *string `json:"CreatedDate,omitempty"` // Industry Description - Description string `json:"Description,omitempty"` + Description *string `json:"Description,omitempty"` // Record Id ID string `json:"ID,omitempty"` // Image Alt Text - ImageAltText string `json:"ImageAltText,omitempty"` + ImageAltText *string `json:"ImageAltText,omitempty"` // Image URL - ImageURL string `json:"ImageURL,omitempty"` + ImageURL *string `json:"ImageURL,omitempty"` // Last Modified By User ID - LastModifiedByID string `json:"LastModifiedByID,omitempty"` + LastModifiedByID *string `json:"LastModifiedByID,omitempty"` // Last Modified Date - LastModifiedDate string `json:"LastModifiedDate,omitempty"` + LastModifiedDate *string `json:"LastModifiedDate,omitempty"` // The hierarchical level of this Industry - Level string `json:"Level,omitempty"` + Level *string `json:"Level,omitempty"` // Logo - Logo string `json:"Logo,omitempty"` + Logo *string `json:"Logo,omitempty"` // Industry Name - Name string `json:"Name,omitempty"` + Name *string `json:"Name,omitempty"` // The ID of the Parent Industry - ParentIndustryID string `json:"ParentIndustryID,omitempty"` + ParentIndustryID *string `json:"ParentIndustryID,omitempty"` // The full path of this industry, including Parent - Path string `json:"Path,omitempty"` + Path *string `json:"Path,omitempty"` // Is this industry a Product Category? - ProductCategory bool `json:"ProductCategory,omitempty"` + ProductCategory *bool `json:"ProductCategory,omitempty"` // The URL of the corresponding page on the CMS - SiteURL string `json:"SiteURL,omitempty"` + SiteURL *string `json:"SiteURL,omitempty"` // The CMS Slug for this Industry - Slug string `json:"Slug,omitempty"` + Slug *string `json:"Slug,omitempty"` // TagLine - TagLine string `json:"TagLine,omitempty"` + TagLine *string `json:"TagLine,omitempty"` } // Validate validates this industry diff --git a/api/sfgate/sfgate_models/industry_company.go b/api/sfgate/sfgate_models/industry_company.go index 0c1c8af..cdfec89 100644 --- a/api/sfgate/sfgate_models/industry_company.go +++ b/api/sfgate/sfgate_models/industry_company.go @@ -22,28 +22,28 @@ import ( type IndustryCompany struct { // company ID - CompanyID string `json:"CompanyID,omitempty"` + CompanyID *string `json:"CompanyID,omitempty"` // Created By User ID - CreatedByID string `json:"CreatedByID,omitempty"` + CreatedByID *string `json:"CreatedByID,omitempty"` // Created Date - CreatedDate string `json:"CreatedDate,omitempty"` + CreatedDate *string `json:"CreatedDate,omitempty"` // Record Id ID string `json:"ID,omitempty"` // industry ID - IndustryID string `json:"IndustryID,omitempty"` + IndustryID *string `json:"IndustryID,omitempty"` // Last Modified By User ID - LastModifiedByID string `json:"LastModifiedByID,omitempty"` + LastModifiedByID *string `json:"LastModifiedByID,omitempty"` // Last Modified Date - LastModifiedDate string `json:"LastModifiedDate,omitempty"` + LastModifiedDate *string `json:"LastModifiedDate,omitempty"` // path - Path string `json:"Path,omitempty"` + Path *string `json:"Path,omitempty"` } // Validate validates this industry company diff --git a/api/sfgate/sfgate_models/industry_product.go b/api/sfgate/sfgate_models/industry_product.go index c850d17..4cfba59 100644 --- a/api/sfgate/sfgate_models/industry_product.go +++ b/api/sfgate/sfgate_models/industry_product.go @@ -26,13 +26,13 @@ type IndustryProduct struct { CompanyProduct *CompanyProduct `json:"CompanyProduct,omitempty"` // company product ID - CompanyProductID string `json:"CompanyProductID,omitempty"` + CompanyProductID *string `json:"CompanyProductID,omitempty"` // Created By User ID - CreatedByID string `json:"CreatedByID,omitempty"` + CreatedByID *string `json:"CreatedByID,omitempty"` // Created Date - CreatedDate string `json:"CreatedDate,omitempty"` + CreatedDate *string `json:"CreatedDate,omitempty"` // Record Id ID string `json:"ID,omitempty"` @@ -41,13 +41,13 @@ type IndustryProduct struct { Industry *Industry `json:"Industry,omitempty"` // industry ID - IndustryID string `json:"IndustryID,omitempty"` + IndustryID *string `json:"IndustryID,omitempty"` // Last Modified By User ID - LastModifiedByID string `json:"LastModifiedByID,omitempty"` + LastModifiedByID *string `json:"LastModifiedByID,omitempty"` // Last Modified Date - LastModifiedDate string `json:"LastModifiedDate,omitempty"` + LastModifiedDate *string `json:"LastModifiedDate,omitempty"` } // Validate validates this industry product diff --git a/api/sfgate/sfgate_models/message.go b/api/sfgate/sfgate_models/message.go index 182b640..9697094 100644 --- a/api/sfgate/sfgate_models/message.go +++ b/api/sfgate/sfgate_models/message.go @@ -25,7 +25,7 @@ type Message struct { Message string `json:"message,omitempty"` // ref - Ref string `json:"ref,omitempty"` + Ref *string `json:"ref,omitempty"` // status Status int64 `json:"status,omitempty"` diff --git a/api/sfgate/sfgate_models/observation.go b/api/sfgate/sfgate_models/observation.go index f78cd5c..a32138f 100644 --- a/api/sfgate/sfgate_models/observation.go +++ b/api/sfgate/sfgate_models/observation.go @@ -22,37 +22,37 @@ import ( type Observation struct { // The ID of the Company being analyzed - AccountID string `json:"AccountID,omitempty"` + AccountID *string `json:"AccountID,omitempty"` // The ID of the Product being analyzed - CompanyProductID string `json:"CompanyProductID,omitempty"` + CompanyProductID *string `json:"CompanyProductID,omitempty"` // Created By User ID - CreatedByID string `json:"CreatedByID,omitempty"` + CreatedByID *string `json:"CreatedByID,omitempty"` // Created Date - CreatedDate string `json:"CreatedDate,omitempty"` + CreatedDate *string `json:"CreatedDate,omitempty"` // Notes concerning data collection - Description string `json:"Description,omitempty"` + Description *string `json:"Description,omitempty"` // The ID of the Factor that owns this Observation - FactorID string `json:"FactorID,omitempty"` + FactorID *string `json:"FactorID,omitempty"` // Record Id ID string `json:"ID,omitempty"` // Last Modified By User ID - LastModifiedByID string `json:"LastModifiedByID,omitempty"` + LastModifiedByID *string `json:"LastModifiedByID,omitempty"` // Last Modified Date - LastModifiedDate string `json:"LastModifiedDate,omitempty"` + LastModifiedDate *string `json:"LastModifiedDate,omitempty"` // Is the subject a Company or a Product? - SubjectType string `json:"SubjectType,omitempty"` + SubjectType *string `json:"SubjectType,omitempty"` // The data point collected - Value string `json:"Value,omitempty"` + Value *string `json:"Value,omitempty"` } // Validate validates this observation diff --git a/api/sfgate/sfgate_models/request_meta.go b/api/sfgate/sfgate_models/request_meta.go index d488f8d..c223e39 100644 --- a/api/sfgate/sfgate_models/request_meta.go +++ b/api/sfgate/sfgate_models/request_meta.go @@ -12,10 +12,8 @@ package sfgate_models import ( "context" - "github.com/go-openapi/errors" "github.com/go-openapi/strfmt" "github.com/go-openapi/swag" - "github.com/go-openapi/validate" ) // RequestMeta request meta @@ -24,30 +22,11 @@ import ( type RequestMeta struct { // Account Number of the Reseller or OEM - // Required: true - TaxnexusAccount *string `json:"TaxnexusAccount"` + TaxnexusAccount string `json:"TaxnexusAccount,omitempty"` } // Validate validates this request meta func (m *RequestMeta) Validate(formats strfmt.Registry) error { - var res []error - - if err := m.validateTaxnexusAccount(formats); err != nil { - res = append(res, err) - } - - if len(res) > 0 { - return errors.CompositeValidationError(res...) - } - return nil -} - -func (m *RequestMeta) validateTaxnexusAccount(formats strfmt.Registry) error { - - if err := validate.Required("TaxnexusAccount", "body", m.TaxnexusAccount); err != nil { - return err - } - return nil } diff --git a/api/sfgate/sfgate_models/role.go b/api/sfgate/sfgate_models/role.go index e3532a5..2b16422 100644 --- a/api/sfgate/sfgate_models/role.go +++ b/api/sfgate/sfgate_models/role.go @@ -22,31 +22,31 @@ import ( type Role struct { // the corresponding auth0 role - Auth0RoleID string `json:"Auth0RoleID,omitempty"` + Auth0RoleID *string `json:"Auth0RoleID,omitempty"` // created by - CreatedByID string `json:"CreatedByID:,omitempty"` + CreatedByID *string `json:"CreatedByID:,omitempty"` // created date - CreatedDate string `json:"CreatedDate,omitempty"` + CreatedDate *string `json:"CreatedDate,omitempty"` // role description - Description string `json:"Description,omitempty"` + Description *string `json:"Description,omitempty"` // record id ID string `json:"ID,omitempty"` // last modified by - LastModifiedByID string `json:"LastModifiedByID,omitempty"` + LastModifiedByID *string `json:"LastModifiedByID,omitempty"` // last modifed date - LastModifiedDate string `json:"LastModifiedDate,omitempty"` + LastModifiedDate *string `json:"LastModifiedDate,omitempty"` // the name of this role - RoleName string `json:"RoleName,omitempty"` + RoleName *string `json:"RoleName,omitempty"` // the id of the tenant that owns this role - TenantID string `json:"TenantID,omitempty"` + TenantID *string `json:"TenantID,omitempty"` } // Validate validates this role diff --git a/api/sfgate/sfgate_models/template.go b/api/sfgate/sfgate_models/template.go index e600b66..14a2e69 100644 --- a/api/sfgate/sfgate_models/template.go +++ b/api/sfgate/sfgate_models/template.go @@ -22,50 +22,50 @@ import ( type Template struct { // created by ID - CreatedByID string `json:"CreatedByID,omitempty"` + CreatedByID *string `json:"CreatedByID,omitempty"` // created date - CreatedDate string `json:"CreatedDate,omitempty"` + CreatedDate *string `json:"CreatedDate,omitempty"` // Description - Description string `json:"Description,omitempty"` + Description *string `json:"Description,omitempty"` // HTML Body // Format: byte - HTML strfmt.Base64 `json:"HTML,omitempty"` + HTML *strfmt.Base64 `json:"HTML,omitempty"` // Record Id ID string `json:"ID,omitempty"` // Active? - IsActive bool `json:"IsActive,omitempty"` + IsActive *bool `json:"IsActive,omitempty"` // Master Template? - IsMaster bool `json:"IsMaster,omitempty"` + IsMaster *bool `json:"IsMaster,omitempty"` // last modified by ID - LastModifiedByID string `json:"LastModifiedByID,omitempty"` + LastModifiedByID *string `json:"LastModifiedByID,omitempty"` // last modified date - LastModifiedDate string `json:"LastModifiedDate,omitempty"` + LastModifiedDate *string `json:"LastModifiedDate,omitempty"` // Template Name - Name string `json:"Name,omitempty"` + Name *string `json:"Name,omitempty"` // Object - ObjectType string `json:"ObjectType,omitempty"` + ObjectType *string `json:"ObjectType,omitempty"` // Record Type Name - RecordTypeName string `json:"RecordTypeName,omitempty"` + RecordTypeName *string `json:"RecordTypeName,omitempty"` // tenant identifier - TenantID string `json:"TenantID,omitempty"` + TenantID *string `json:"TenantID,omitempty"` // Type - Type string `json:"Type,omitempty"` + Type *string `json:"Type,omitempty"` // URL - URL string `json:"URL,omitempty"` + URL *string `json:"URL,omitempty"` } // Validate validates this template diff --git a/api/sfgate/sfgate_models/tenant.go b/api/sfgate/sfgate_models/tenant.go index b8dd69f..001c21e 100644 --- a/api/sfgate/sfgate_models/tenant.go +++ b/api/sfgate/sfgate_models/tenant.go @@ -24,16 +24,16 @@ import ( type Tenant struct { // The Account that owns this Tenant - AccountID string `json:"AccountID,omitempty"` + AccountID *string `json:"AccountID,omitempty"` // Is this Tenant currently active? - Active bool `json:"Active,omitempty"` + Active *bool `json:"Active,omitempty"` // Created By - CreatedByID string `json:"CreatedByID,omitempty"` + CreatedByID *string `json:"CreatedByID,omitempty"` // Created Date - CreatedDate string `json:"CreatedDate,omitempty"` + CreatedDate *string `json:"CreatedDate,omitempty"` // databases Databases []*Database `json:"Databases"` @@ -42,28 +42,28 @@ type Tenant struct { ID string `json:"ID,omitempty"` // Last Modified By - LastModifiedByID string `json:"LastModifiedByID,omitempty"` + LastModifiedByID *string `json:"LastModifiedByID,omitempty"` // Last Modifed Date - LastModifiedDate string `json:"LastModifiedDate,omitempty"` + LastModifiedDate *string `json:"LastModifiedDate,omitempty"` // roles Roles []*Role `json:"Roles"` // The current status of this Tenant - Status string `json:"Status,omitempty"` + Status *string `json:"Status,omitempty"` // Name of the Tenant Resource - TenantName string `json:"TenantName,omitempty"` + TenantName *string `json:"TenantName,omitempty"` // tenant users TenantUsers []*TenantUser `json:"TenantUsers"` // Type of tenant - Type string `json:"Type,omitempty"` + Type *string `json:"Type,omitempty"` // The version number of the Tenant Onboarding system used to create this tenant - Version string `json:"Version,omitempty"` + Version *string `json:"Version,omitempty"` } // Validate validates this tenant diff --git a/api/sfgate/sfgate_models/tenant_user.go b/api/sfgate/sfgate_models/tenant_user.go index 0ce54e9..cadd579 100644 --- a/api/sfgate/sfgate_models/tenant_user.go +++ b/api/sfgate/sfgate_models/tenant_user.go @@ -22,13 +22,13 @@ import ( type TenantUser struct { // The Tenant access level for this User - Accesslevel string `json:"accesslevel,omitempty"` + AccessLevel string `json:"AccessLevel,omitempty"` // The Tenant ID - Tenantid string `json:"tenantid,omitempty"` + TemamtOD string `json:"TemamtOD,omitempty"` // The User ID - Userid string `json:"userid,omitempty"` + UserID string `json:"UserID,omitempty"` } // Validate validates this tenant user diff --git a/api/sfgate/sfgate_models/topic.go b/api/sfgate/sfgate_models/topic.go index 2399e39..9a6b756 100644 --- a/api/sfgate/sfgate_models/topic.go +++ b/api/sfgate/sfgate_models/topic.go @@ -24,13 +24,13 @@ import ( type Topic struct { // Created By User ID - CreatedByID string `json:"CreatedByID,omitempty"` + CreatedByID *string `json:"CreatedByID,omitempty"` // Created Date - CreatedDate string `json:"CreatedDate,omitempty"` + CreatedDate *string `json:"CreatedDate,omitempty"` // Topic Description - Description string `json:"Description,omitempty"` + Description *string `json:"Description,omitempty"` // The list of Factors used to analyze this industry Factors []*Factor `json:"Factors"` @@ -39,19 +39,19 @@ type Topic struct { ID string `json:"ID,omitempty"` // Last Modified By User ID - LastModifiedByID string `json:"LastModifiedByID,omitempty"` + LastModifiedByID *string `json:"LastModifiedByID,omitempty"` // Last Modified Date - LastModifiedDate string `json:"LastModifiedDate,omitempty"` + LastModifiedDate *string `json:"LastModifiedDate,omitempty"` // Topic Name - Name string `json:"Name,omitempty"` + Name *string `json:"Name,omitempty"` // The ID of the Parent Topic - ParentTopicID string `json:"ParentTopicID,omitempty"` + ParentTopicID *string `json:"ParentTopicID,omitempty"` // The CMS Slug for this Topic - Slug string `json:"Slug,omitempty"` + Slug *string `json:"Slug,omitempty"` } // Validate validates this topic diff --git a/api/sfgate/sfgate_models/user.go b/api/sfgate/sfgate_models/user.go index 5762a05..73cdf03 100644 --- a/api/sfgate/sfgate_models/user.go +++ b/api/sfgate/sfgate_models/user.go @@ -24,199 +24,199 @@ import ( type User struct { // API Gateway URL - APIGatewayURL string `json:"APIGatewayURL,omitempty"` + APIGatewayURL *string `json:"APIGatewayURL,omitempty"` // API Gateway User - APIGatewayUser string `json:"APIGatewayUser,omitempty"` + APIGatewayUser *string `json:"APIGatewayUser,omitempty"` // API Key - APIKey string `json:"APIKey,omitempty"` + APIKey *string `json:"APIKey,omitempty"` // About Me - AboutMe string `json:"AboutMe,omitempty"` + AboutMe *string `json:"AboutMe,omitempty"` // Account ID - AccountID string `json:"AccountID,omitempty"` + AccountID *string `json:"AccountID,omitempty"` // address Address *Address `json:"Address,omitempty"` // Alias - Alias string `json:"Alias,omitempty"` + Alias *string `json:"Alias,omitempty"` // Auth0 User Id - Auth0UserID string `json:"Auth0UserID,omitempty"` + Auth0UserID *string `json:"Auth0UserID,omitempty"` // Nickname - CommunityNickname string `json:"CommunityNickname,omitempty"` + CommunityNickname *string `json:"CommunityNickname,omitempty"` // Company Name - CompanyName string `json:"CompanyName,omitempty"` + CompanyName *string `json:"CompanyName,omitempty"` // Contact - ContactID string `json:"ContactID,omitempty"` + ContactID *string `json:"ContactID,omitempty"` // Created User ID - CreatedByID string `json:"CreatedByID,omitempty"` + CreatedByID *string `json:"CreatedByID,omitempty"` // Date Created - CreatedDate string `json:"CreatedDate,omitempty"` + CreatedDate *string `json:"CreatedDate,omitempty"` // Delegated Approver - DelegatedApproverID string `json:"DelegatedApproverID,omitempty"` + DelegatedApproverID *string `json:"DelegatedApproverID,omitempty"` // Department - Department string `json:"Department,omitempty"` + Department *string `json:"Department,omitempty"` // Division - Division string `json:"Division,omitempty"` + Division *string `json:"Division,omitempty"` // Email address - Email string `json:"Email,omitempty"` + Email *string `json:"Email,omitempty"` // Employee Number - EmployeeNumber string `json:"EmployeeNumber,omitempty"` + EmployeeNumber *string `json:"EmployeeNumber,omitempty"` // Time day ends - EndOfDay string `json:"EndOfDay,omitempty"` + EndOfDay *string `json:"EndOfDay,omitempty"` // Environment - Environment string `json:"Environment,omitempty"` + Environment *string `json:"Environment,omitempty"` // Extension - Extension string `json:"Extension,omitempty"` + Extension *string `json:"Extension,omitempty"` // Fabric API Key - FabricAPIKey string `json:"FabricAPIKey,omitempty"` + FabricAPIKey *string `json:"FabricAPIKey,omitempty"` // Fax - Fax string `json:"Fax,omitempty"` + Fax *string `json:"Fax,omitempty"` // The first name - FirstName string `json:"FirstName,omitempty"` + FirstName *string `json:"FirstName,omitempty"` // Allow Forecasting - ForecastEnabled bool `json:"ForecastEnabled,omitempty"` + ForecastEnabled *bool `json:"ForecastEnabled,omitempty"` // Full Photo URL - FullPhotoURL string `json:"FullPhotoURL,omitempty"` + FullPhotoURL *string `json:"FullPhotoURL,omitempty"` // GitHub - GitHub string `json:"GitHub,omitempty"` + GitHub *string `json:"GitHub,omitempty"` // Record ID ID string `json:"ID,omitempty"` // Active - IsActive bool `json:"IsActive,omitempty"` + IsActive *bool `json:"IsActive,omitempty"` // Is the user enabled for Communities? - IsPortalEnabled bool `json:"IsPortalEnabled,omitempty"` + IsPortalEnabled *bool `json:"IsPortalEnabled,omitempty"` // Has Profile Photo - IsProfilePhotoActive bool `json:"IsProfilePhotoActive,omitempty"` + IsProfilePhotoActive *bool `json:"IsProfilePhotoActive,omitempty"` // is system controlled - IsSystemControlled bool `json:"IsSystemControlled,omitempty"` + IsSystemControlled *bool `json:"IsSystemControlled,omitempty"` // IP address of last login - LastIP string `json:"LastIP,omitempty"` + LastIP *string `json:"LastIP,omitempty"` // Last login time - LastLogin string `json:"LastLogin,omitempty"` + LastLogin *string `json:"LastLogin,omitempty"` // Last Modified User ID - LastModifiedByID string `json:"LastModifiedByID,omitempty"` + LastModifiedByID *string `json:"LastModifiedByID,omitempty"` // Last Modified Date - LastModifiedDate string `json:"LastModifiedDate,omitempty"` + LastModifiedDate *string `json:"LastModifiedDate,omitempty"` // The Last Name - LastName string `json:"LastName,omitempty"` + LastName *string `json:"LastName,omitempty"` // LinkedIn - LinkedIn string `json:"LinkedIn,omitempty"` + LinkedIn *string `json:"LinkedIn,omitempty"` // Number of times user has logged in - LoginCount int64 `json:"LoginCount,omitempty"` + LoginCount *int64 `json:"LoginCount,omitempty"` // Manager - ManagerID string `json:"ManagerID,omitempty"` + ManagerID *string `json:"ManagerID,omitempty"` // Mobile - MobilePhone string `json:"MobilePhone,omitempty"` + MobilePhone *string `json:"MobilePhone,omitempty"` // Name - Name string `json:"Name,omitempty"` + Name *string `json:"Name,omitempty"` // Out of office message - OutOfOfficeMessage string `json:"OutOfOfficeMessage,omitempty"` + OutOfOfficeMessage *string `json:"OutOfOfficeMessage,omitempty"` // Phone - Phone string `json:"Phone,omitempty"` + Phone *string `json:"Phone,omitempty"` // Portal Role Level - PortalRole string `json:"PortalRole,omitempty"` + PortalRole *string `json:"PortalRole,omitempty"` // Profile - ProfileID string `json:"ProfileID,omitempty"` + ProfileID *string `json:"ProfileID,omitempty"` // Info Emails - ReceivesAdminEmails bool `json:"ReceivesAdminEmails,omitempty"` + ReceivesAdminEmails *bool `json:"ReceivesAdminEmails,omitempty"` // Admin Info Emails - ReceivesAdminInfoEmails bool `json:"ReceivesAdminInfoEmails,omitempty"` + ReceivesAdminInfoEmails *bool `json:"ReceivesAdminInfoEmails,omitempty"` // Info Emails - ReceivesInfoEmails bool `json:"ReceivesInfoEmails,omitempty"` + ReceivesInfoEmails *bool `json:"ReceivesInfoEmails,omitempty"` // Email Sender Address - SenderEmail string `json:"SenderEmail,omitempty"` + SenderEmail *string `json:"SenderEmail,omitempty"` // Email Sender Name - SenderName string `json:"SenderName,omitempty"` + SenderName *string `json:"SenderName,omitempty"` // Email Signature - Signature string `json:"Signature,omitempty"` + Signature *string `json:"Signature,omitempty"` // Small Photo URL - SmallPhotoURL string `json:"SmallPhotoURL,omitempty"` + SmallPhotoURL *string `json:"SmallPhotoURL,omitempty"` // The time day starts - StartOfDay string `json:"StartOfDay,omitempty"` + StartOfDay *string `json:"StartOfDay,omitempty"` // Status - Status string `json:"Status,omitempty"` + Status *string `json:"Status,omitempty"` - // Taxnexus Account - TaxnexusAccount string `json:"TaxnexusAccount,omitempty"` + // Account + TaxnexusAccount *string `json:"TaxnexusAccount,omitempty"` // Tenant ID associated with this user - TenantID string `json:"TenantID,omitempty"` + TenantID *string `json:"TenantID,omitempty"` // tenant users TenantUsers []*TenantUser `json:"TenantUsers"` // Time Zone - TimeZone string `json:"TimeZone,omitempty"` + TimeZone *string `json:"TimeZone,omitempty"` // Title - Title string `json:"Title,omitempty"` + Title *string `json:"Title,omitempty"` // Twitter - Twitter string `json:"Twitter,omitempty"` + Twitter *string `json:"Twitter,omitempty"` // Role - UserRoleID string `json:"UserRoleID,omitempty"` + UserRoleID *string `json:"UserRoleID,omitempty"` // user roles UserRoles []*UserRole `json:"UserRoles"` // User Type - UserType string `json:"UserType,omitempty"` + UserType *string `json:"UserType,omitempty"` // Username - Username string `json:"Username,omitempty"` + Username *string `json:"Username,omitempty"` } // Validate validates this user diff --git a/api/sfgate/sfgate_models/user_role.go b/api/sfgate/sfgate_models/user_role.go index 06ed523..245f404 100644 --- a/api/sfgate/sfgate_models/user_role.go +++ b/api/sfgate/sfgate_models/user_role.go @@ -22,34 +22,34 @@ import ( type UserRole struct { // auth0role ID - Auth0roleID string `json:"Auth0roleID,omitempty"` + Auth0roleID *string `json:"Auth0roleID,omitempty"` // created by ID - CreatedByID string `json:"CreatedByID,omitempty"` + CreatedByID *string `json:"CreatedByID,omitempty"` // created date CreatedDate *string `json:"CreatedDate,omitempty"` // description - Description string `json:"Description,omitempty"` + Description *string `json:"Description,omitempty"` // ID ID string `json:"ID,omitempty"` // last modified by ID - LastModifiedByID string `json:"LastModifiedByID,omitempty"` + LastModifiedByID *string `json:"LastModifiedByID,omitempty"` // last modified date LastModifiedDate *string `json:"LastModifiedDate,omitempty"` // name - Name string `json:"Name,omitempty"` + Name *string `json:"Name,omitempty"` // role ID - RoleID string `json:"RoleID,omitempty"` + RoleID *string `json:"RoleID,omitempty"` // user ID - UserID string `json:"UserID,omitempty"` + UserID *string `json:"UserID,omitempty"` } // Validate validates this user role diff --git a/swagger/crm-vernonkeenan.yaml b/swagger/crm-vernonkeenan.yaml index 1b286b2..f8f1110 100644 --- a/swagger/crm-vernonkeenan.yaml +++ b/swagger/crm-vernonkeenan.yaml @@ -316,8 +316,8 @@ paths: tags: - Accounts put: - description: Update a single account specified by accountId - operationId: putAccount + description: Update one or more accounts + operationId: putAccounts parameters: - $ref: "#/parameters/accountRequest" responses: diff --git a/swagger/defs/account.yaml b/swagger/defs/account.yaml index b5f43f2..81dbe15 100644 --- a/swagger/defs/account.yaml +++ b/swagger/defs/account.yaml @@ -6,158 +6,212 @@ Account: AccountNumber: description: Account Number type: string + x-nullable: true AccountSource: description: The marketing origin of this account type: string + x-nullable: true Active: type: boolean + x-nullable: true AnnualRevenue: description: Annual Revenue Estimate format: double type: number + x-nullable: true BillingAddress: $ref: "./address.yaml#/Address" + x-nullable: true BillingContactID: description: Contact ID type: string - CloseDate: + x-nullable: true + ClosedDate: description: Close Date type: string + x-nullable: true CloudRevenueTotal: type: number + x-nullable: true CloudType: description: The type of cloud company type: string + x-nullable: true CloudYear: description: The year company started cloud revenue type: string + x-nullable: true CreatedByID: description: Created By User ID type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true CrunchbaseURL: description: Crunchbase URL type: string + x-nullable: true Description: description: Description of the account type: string + x-nullable: true EIN: type: string + x-nullable: true EarningsCall: description: Earnings Call Date type: string + x-nullable: true Email: description: Main Account Email type: string + x-nullable: true EquityFunding: description: The amount of equity EquityFunding type: number + x-nullable: true Facebook: description: Company Facebook URL type: string + x-nullable: true Fax: description: Fax number type: string + x-nullable: true FoundedDate: description: Date company founded type: string + x-nullable: true IPODate: description: IPO Date type: string + x-nullable: true ImageAltText: type: string + x-nullable: true ImageURL: type: string + x-nullable: true Industries: description: Industries type: string + x-nullable: true Industry: description: Industry type: string + x-nullable: true LastModifiedByID: description: Last Modified By User ID type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string + x-nullable: true LinkedIn: description: Company LinkedIn URL type: string + x-nullable: true Location: description: Headquarters Location Description type: string + x-nullable: true Logo: description: Company Logo URL type: string + x-nullable: true MarketCapitalization: description: Market Capitalization type: number + x-nullable: true Name: description: Account Name type: string + x-nullable: true NumberInvestments: description: Number of Investments type: number + x-nullable: true NumberOfEmployees: description: Employee Count Estimate format: int64 type: number + x-nullable: true OwnerID: description: Account Owner User ID type: string + x-nullable: true Ownership: description: Ownership type: string + x-nullable: true ParentID: description: Parent Account type: string + x-nullable: true Phone: description: Phone type: string + x-nullable: true Publish: description: Publish this record? type: boolean + x-nullable: true SIC: description: SIC Code type: string + x-nullable: true SICDesc: description: SIC Description type: string + x-nullable: true SalesforceFirst: description: A Salesforce-First company? type: boolean + x-nullable: true ShippingAddress: $ref: "./address.yaml#/Address" + x-nullable: true ShippingContactID: description: Shipping Contact ID type: string + x-nullable: true Site: description: Account Site type: string + x-nullable: true Slug: description: Slug type: string + x-nullable: true TagLine: description: Company tagline type: string + x-nullable: true TenantID: description: Tenant Identifier type: string + x-nullable: true TickerSymbol: description: Ticker Symbol type: string + x-nullable: true Twitter: description: Twitter URL type: string + x-nullable: true Type: description: Type type: string + x-nullable: true Website: description: Website type: string + x-nullable: true YearStarted: description: Year Started type: string + x-nullable: true type: object diff --git a/swagger/defs/address.yaml b/swagger/defs/address.yaml index 75e1a13..72e15b6 100644 --- a/swagger/defs/address.yaml +++ b/swagger/defs/address.yaml @@ -3,22 +3,29 @@ Address: City: description: City type: string + x-nullable: true Country: description: Country full name type: string + x-nullable: true CountryCode: description: Country Code type: string + x-nullable: true PostalCode: description: Postal Code type: string + x-nullable: true State: description: State full name type: string + x-nullable: true StateCode: description: State Code type: string + x-nullable: true Street: description: Street number and name type: string + x-nullable: true type: object diff --git a/swagger/defs/asset.yaml b/swagger/defs/asset.yaml index e57720f..a5cfa1e 100644 --- a/swagger/defs/asset.yaml +++ b/swagger/defs/asset.yaml @@ -6,135 +6,179 @@ Asset: AccountID: description: Account type: string + x-nullable: true Address: $ref: "./address.yaml#/Address" AssetLevel: description: Asset Level type: number + x-nullable: true AssetProvidedByID: description: Asset Provided By type: string + x-nullable: true AssetServicedByID: description: Asset Serviced By type: string + x-nullable: true CompanyProductID: description: Company Product type: string + x-nullable: true ConsequenceOfFailure: description: Consequence Of Failure type: string + x-nullable: true ContactID: description: Contact type: string + x-nullable: true CreatedByID: description: Created By type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true CurrentAmount: description: Current Amount type: number + x-nullable: true CurrentLifecycleEndDate: description: Current Lifecycle End Date type: string + x-nullable: true CurrentMrr: description: Current Monthly Recurring Revenue type: number + x-nullable: true CurrentQuantity: description: Current Quantity type: number + x-nullable: true Description: description: Description type: string + x-nullable: true DigitalAssetStatus: description: Digital Asset Status type: string + x-nullable: true ExternalIdentifier: description: External Id type: string + x-nullable: true HasLifecycleManagement: description: Has Lifecycle Management type: boolean + x-nullable: true InstallDate: description: Install Date type: string + x-nullable: true IsCompetitorProduct: description: Competitor Asset type: boolean + x-nullable: true IsInternal: description: Internal Asset type: boolean + x-nullable: true LastModifiedByID: description: Last Modified By type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string + x-nullable: true LocationID: description: Location type: string + x-nullable: true MIMEType: description: MIME Type type: string + x-nullable: true ManufactureDate: description: Manufacture Date type: string + x-nullable: true Name: description: Asset Name type: string + x-nullable: true ParentID: description: Parent Asset type: string + x-nullable: true Price: description: Price type: number + x-nullable: true Product2ID: description: Product type: string + x-nullable: true ProductCode: description: Product Code type: string + x-nullable: true ProductDescription: description: Product Description type: string + x-nullable: true ProductFamily: description: Product Family type: string + x-nullable: true PurchaseDate: description: Purchase Date type: string + x-nullable: true Quantity: description: Quantity type: number + x-nullable: true RootAssetID: description: Root Asset type: string + x-nullable: true SerialNumber: description: Serial Number type: string + x-nullable: true Status: description: Status type: string + x-nullable: true StatusReason: description: Status Reason type: string + x-nullable: true StockKeepingUnit: description: Product SKU type: string + x-nullable: true TenantID: description: Tenant ID type: string + x-nullable: true TotalLifecycleAmount: description: Total Lifecycle Amount type: number + x-nullable: true Type: description: Type type: string + x-nullable: true URL: description: URL type: string + x-nullable: true UsageEndDate: description: Usage End Date type: string + x-nullable: true type: object diff --git a/swagger/defs/contact.yaml b/swagger/defs/contact.yaml index 3add907..88d859a 100644 --- a/swagger/defs/contact.yaml +++ b/swagger/defs/contact.yaml @@ -6,120 +6,160 @@ Contact: AccountID: description: The primary account ID of this contact type: string + x-nullable: true AssistantName: description: Assistant Name type: string + x-nullable: true AssistantPhone: description: Asst. Phone type: string + x-nullable: true BirthDate: description: Birthdate type: string + x-nullable: true CrunchbaseURL: type: string + x-nullable: true CreatedByID: description: Created By User ID type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true Department: description: Department type: string + x-nullable: true Description: description: Description type: string + x-nullable: true DoNotCall: description: Do Not Call? type: boolean + x-nullable: true Email: description: Email address type: string + x-nullable: true EmailBounceDate: description: Email Bounce Date type: string + x-nullable: true EmailBouncedReason: description: Email Bounce Reason type: string + x-nullable: true Facebook: description: Facebook Page type: string + x-nullable: true Fax: description: Fax Number type: string + x-nullable: true FirstName: description: First Name type: string + x-nullable: true HasOptedOutOfEmail: description: Email Opt Out type: boolean + x-nullable: true HasOptedOutOfFax: description: Fax Opt Out type: boolean + x-nullable: true HomePhone: description: Home Phone type: string + x-nullable: true IsEmailBounced: description: Does this contact have bounced emails? type: boolean + x-nullable: true LastModifiedByID: description: Last Modified By User ID type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string + x-nullable: true LastName: description: Last Name type: string + x-nullable: true LeadSource: description: Lead Source type: string + x-nullable: true LinkedIn: description: LinkedIn Page type: string + x-nullable: true MailingAddress: $ref: "./address.yaml#/Address" MobilePhone: description: Mobile Phone type: string + x-nullable: true Name: description: Full Name type: string + x-nullable: true NumberInvestments: type: number + x-nullable: true OtherAddress: $ref: "./address.yaml#/Address" + x-nullable: true OtherPhone: description: Other Phone type: string + x-nullable: true OwnerID: description: The User ID of the user who owns this Contact type: string + x-nullable: true PersonalEmail: description: Personal Email Address for this Contact type: string + x-nullable: true Phone: description: Phone Number type: string + x-nullable: true PhotoURL: description: URL of a photograph of this User type: string + x-nullable: true ReportsToID: description: Reports To type: string + x-nullable: true Salutation: description: Salutation type: string + x-nullable: true Slug: description: Slug type: string + x-nullable: true TenantID: description: Tenant Identifier type: string + x-nullable: true Title: description: Contact Title type: string + x-nullable: true Twitter: description: Twitter URL type: string + x-nullable: true type: object diff --git a/swagger/defs/contract.yaml b/swagger/defs/contract.yaml index fd6f60d..6a9cf3f 100644 --- a/swagger/defs/contract.yaml +++ b/swagger/defs/contract.yaml @@ -3,94 +3,122 @@ Contract: AccountID: description: Account type: string + x-nullable: true ActivatedByID: description: Activated By type: string + x-nullable: true ActivatedDate: description: Activated Date type: string + x-nullable: true BillingAddress: $ref: "./address.yaml#/Address" description: Billing Address BillingContactID: description: Billing Contact type: string + x-nullable: true CompanySignedDate: description: Company Signed Date type: string + x-nullable: true CompanySignedID: description: Company Signed By type: string + x-nullable: true ContractNumber: description: Contract Number type: string + x-nullable: true ContractTerm: description: Contract Term (months) type: number + x-nullable: true CreatedByID: description: Created By User ID type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true CustomerSignedDate: description: Customer Signed Date type: string + x-nullable: true CustomerSignedID: description: Customer Signed By type: string + x-nullable: true CustomerSignedTitle: description: Customer Signed Title type: string + x-nullable: true DefaultEndUserID: description: End User type: string + x-nullable: true Description: description: Description type: string + x-nullable: true EndDate: description: Contract End Date type: string + x-nullable: true EndUserID: description: End User type: string + x-nullable: true HourlyRate: description: Hourly Rate type: number + x-nullable: true ID: - description: Telnexus Record Id + description: Record Id type: string LastModifiedByID: description: Last Modified By User ID type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string + x-nullable: true Name: description: Contract Name type: string + x-nullable: true PaymentMethodID: description: Payment Method type: string + x-nullable: true PaymentTerms: description: Payment Terms type: string + x-nullable: true Perpetual: description: Perpetual Agreement? type: boolean + x-nullable: true ShippingAddress: $ref: "./address.yaml#/Address" description: Shipping Address ShippingContactID: description: Shipping Contact type: string + x-nullable: true StartDate: description: Contract Start Date type: string + x-nullable: true Status: description: Status type: string + x-nullable: true TenantID: description: Tenant Identifier type: string + x-nullable: true type: object diff --git a/swagger/defs/lead.yaml b/swagger/defs/lead.yaml index df87a58..8dbf593 100644 --- a/swagger/defs/lead.yaml +++ b/swagger/defs/lead.yaml @@ -2,85 +2,112 @@ Lead: properties: Address: $ref: "./address.yaml#/Address" + x-nullable: true Company: description: Company type: string + x-nullable: true CreatedByID: description: Created By User ID type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true Description: description: Description type: string + x-nullable: true Email: description: Email type: string + x-nullable: true FirstName: description: First Name type: string + x-nullable: true ID: description: Record Id type: string LastModifiedByID: description: Last Modified By User ID type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string + x-nullable: true LastName: description: Last Name type: string + x-nullable: true MobilePhone: description: Mobile type: string + x-nullable: true Name: description: Name type: string + x-nullable: true OwnerId: description: LeadBasic Owner type: string + x-nullable: true PartnerAccountId: description: Partner Account type: string + x-nullable: true Phone: description: Phone type: string + x-nullable: true ProductID: description: Product type: string + x-nullable: true RefererURL: description: referer_url type: string + x-nullable: true Status: description: LeadBasic Status type: string + x-nullable: true TenantID: description: Tenant Identifier type: string + x-nullable: true Title: description: Title type: string + x-nullable: true Type: description: Type type: string + x-nullable: true UTMCampaign: description: utm_campaign type: string + x-nullable: true UTMContent: description: utm_content type: string + x-nullable: true UTMMedium: description: utm_medium type: string + x-nullable: true UTMSource: description: utm_source type: string + x-nullable: true UTMTerm: description: utm_term type: string + x-nullable: true Website: description: Website type: string + x-nullable: true type: object diff --git a/swagger/defs/user.yaml b/swagger/defs/user.yaml index e1e3fce..665c26f 100644 --- a/swagger/defs/user.yaml +++ b/swagger/defs/user.yaml @@ -1,196 +1,243 @@ User: properties: - ID: - description: Record ID - type: string APIGatewayURL: description: API Gateway URL type: string + x-nullable: true APIGatewayUser: description: API Gateway User type: string + x-nullable: true APIKey: description: API Key type: string + x-nullable: true AboutMe: description: About Me type: string + x-nullable: true AccountID: description: Account ID type: string + x-nullable: true Address: - $ref: "./address.yaml#/Address" + $ref: "#/definitions/Address" + x-nullable: true Alias: description: Alias type: string + x-nullable: true Auth0UserID: description: Auth0 User Id type: string + x-nullable: true CommunityNickname: description: Nickname type: string + x-nullable: true CompanyName: description: Company Name type: string + x-nullable: true ContactID: description: Contact type: string + x-nullable: true CreatedByID: description: Created User ID type: string + x-nullable: true CreatedDate: description: Date Created type: string + x-nullable: true DelegatedApproverID: description: Delegated Approver type: string + x-nullable: true Department: description: Department type: string + x-nullable: true Division: description: Division type: string + x-nullable: true Email: description: Email address type: string + x-nullable: true EmployeeNumber: description: Employee Number type: string + x-nullable: true EndOfDay: description: Time day ends type: string + x-nullable: true Environment: description: Environment type: string + x-nullable: true Extension: description: Extension type: string - FabricAPIKey: - description: Fabric API Key - type: string + x-nullable: true Fax: description: Fax type: string + x-nullable: true FirstName: description: The first name type: string + x-nullable: true ForecastEnabled: description: Allow Forecasting type: boolean + x-nullable: true FullPhotoURL: description: Full Photo URL type: string + x-nullable: true GitHub: description: GitHub type: string + x-nullable: true + ID: + description: Record ID + type: string IsActive: description: Active type: boolean + x-nullable: true IsPortalEnabled: description: Is the user enabled for Communities? type: boolean - IsProfilePhotoActive: - description: Has Profile Photo - type: boolean + x-nullable: true IsSystemControlled: type: boolean + x-nullable: true LastIP: description: IP address of last login type: string + x-nullable: true LastLogin: description: Last login time type: string + x-nullable: true LastModifiedByID: description: Last Modified User ID type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string + x-nullable: true LastName: description: The Last Name type: string + x-nullable: true LinkedIn: description: LinkedIn type: string + x-nullable: true LoginCount: description: Number of times user has logged in format: int64 type: number + x-nullable: true ManagerID: description: Manager type: string + x-nullable: true MobilePhone: description: Mobile type: string + x-nullable: true Name: description: Name type: string + x-nullable: true OutOfOfficeMessage: description: Out of office message type: string + x-nullable: true Phone: description: Phone type: string + x-nullable: true PortalRole: description: Portal Role Level type: string + x-nullable: true ProfileID: description: Profile type: string + x-nullable: true ReceivesAdminEmails: description: Info Emails type: boolean - ReceivesAdminInfoEmails: - description: Admin Info Emails - type: boolean + x-nullable: true SenderEmail: description: Email Sender Address type: string + x-nullable: true SenderName: description: Email Sender Name type: string - Signature: - description: Email Signature - type: string + x-nullable: true SmallPhotoURL: description: Small Photo URL type: string + x-nullable: true StartOfDay: description: The time day starts type: string + x-nullable: true Status: - description: Status + description: Onboarding Status type: string + x-nullable: true TaxnexusAccount: - description: Taxnexus Account + description: Account type: string + x-nullable: true TenantID: description: Tenant ID associated with this user type: string + x-nullable: true TenantUsers: items: - $ref: "./tenant-user.yaml#/TenantUser" + $ref: "#/definitions/TenantUser" type: array + x-nullable: true TimeZone: description: Time Zone type: string + x-nullable: true Title: description: Title type: string + x-nullable: true Twitter: description: Twitter type: string + x-nullable: true UserRoleID: description: Role type: string + x-nullable: true UserRoles: items: - $ref: "./user-role.yaml#/UserRole" + $ref: "#/definitions/UserRole" type: array + x-nullable: true UserType: description: User Type type: string + x-nullable: true Username: description: Username type: string + x-nullable: true type: object diff --git a/swagger/external/crm-vernonkeenan.yaml b/swagger/external/crm-vernonkeenan.yaml index 526d1d2..f800c53 100644 --- a/swagger/external/crm-vernonkeenan.yaml +++ b/swagger/external/crm-vernonkeenan.yaml @@ -316,8 +316,8 @@ paths: tags: - Accounts put: - description: Update a single account specified by accountId - operationId: putAccount + description: Update one or more accounts + operationId: putAccounts parameters: - $ref: "#/parameters/accountRequest" responses: diff --git a/swagger/external/members-vernonkeenan.yaml b/swagger/external/members-vernonkeenan.yaml index 4c03f8f..24031c5 100644 --- a/swagger/external/members-vernonkeenan.yaml +++ b/swagger/external/members-vernonkeenan.yaml @@ -293,6 +293,7 @@ responses: headers: Access-Control-Allow-Origin: type: string + x-nullable: true schema: $ref: "#/definitions/Error" AttendeeResponse: @@ -323,6 +324,7 @@ responses: headers: Access-Control-Allow-Origin: type: string + x-nullable: true description: Response with Database objects schema: $ref: "#/definitions/DatabaseResponse" @@ -363,6 +365,7 @@ responses: headers: Access-Control-Allow-Origin: type: string + x-nullable: true schema: $ref: "#/definitions/Error" OrderResponse: @@ -390,12 +393,14 @@ responses: headers: Access-Control-Allow-Origin: type: string + x-nullable: true schema: $ref: "#/definitions/Error" TenantResponse: headers: Access-Control-Allow-Origin: type: string + x-nullable: true description: Response with Tenant objects schema: $ref: "#/definitions/TenantResponse" @@ -1683,24 +1688,31 @@ definitions: City: description: City type: string + x-nullable: true Country: description: Country full name type: string + x-nullable: true CountryCode: description: Country Code type: string + x-nullable: true PostalCode: description: Postal Code type: string + x-nullable: true State: description: State full name type: string + x-nullable: true StateCode: description: State Code type: string + x-nullable: true Street: description: Street number and name type: string + x-nullable: true type: object Attendee: properties: @@ -1711,6 +1723,7 @@ definitions: x-nullable: true EventID: type: string + x-nullable: true ID: type: string LastModifiedDate: @@ -1718,8 +1731,10 @@ definitions: x-nullable: true TicketID: type: string + x-nullable: true UserID: type: string + x-nullable: true type: object AttendeeRequest: description: An array of Attendee objects @@ -1741,10 +1756,13 @@ definitions: properties: CertificateTemplate: type: string + x-nullable: true CourseID: type: string + x-nullable: true CreatedByID: type: string + x-nullable: true CreatedDate: type: string x-nullable: true @@ -1755,11 +1773,13 @@ definitions: type: string LastModifiedByID: type: string + x-nullable: true LastModifiedDate: type: string x-nullable: true Title: type: string + x-nullable: true type: object CertificateRequest: description: An array of Certificate objects @@ -1782,54 +1802,70 @@ definitions: CreatedByID: description: Created By type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true Description: description: Description type: string + x-nullable: true Environment: description: Environment type: string + x-nullable: true Gateway: description: Gateway type: string + x-nullable: true ID: description: Record Id type: string IPAddress: description: IP Address type: string + x-nullable: true LastModifiedByID: description: Last Modified By type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string + x-nullable: true Name: description: Cluster Name type: string + x-nullable: true OwnerID: description: Owner type: string + x-nullable: true Ref: description: External Reference type: string + x-nullable: true Status: description: Status type: string + x-nullable: true Subnet: description: Subnet type: string + x-nullable: true TenantID: description: The ID of the tenant who owns this Database type: string + x-nullable: true Type: description: Type type: string + x-nullable: true Zone: description: Zone type: string + x-nullable: true type: object ClusterRequest: properties: @@ -1852,19 +1888,24 @@ definitions: properties: CreatedByID: type: string + x-nullable: true CreatedDate: type: string x-nullable: true Description: type: string + x-nullable: true Fulldescription: type: string + x-nullable: true ID: type: string InstructorID: type: string + x-nullable: true LastModifiedByID: type: string + x-nullable: true LastModifiedDate: type: string x-nullable: true @@ -1872,13 +1913,16 @@ definitions: type: number Title: type: string + x-nullable: true type: object CourseLesson: properties: Content: type: string + x-nullable: true CreatedByID: type: string + x-nullable: true CreatedDate: type: string x-nullable: true @@ -1886,6 +1930,7 @@ definitions: type: string LastModifiedByID: type: string + x-nullable: true LastModifiedDate: type: string x-nullable: true @@ -1893,10 +1938,13 @@ definitions: type: integer SectionID: type: string + x-nullable: true Title: type: string + x-nullable: true VideoURL: type: string + x-nullable: true type: object CourseLessonRequest: description: An array of CourseLesson objects @@ -1934,17 +1982,21 @@ definitions: properties: CourseID: type: string + x-nullable: true CreatedByID: type: string + x-nullable: true CreatedDate: type: string x-nullable: true Description: type: string + x-nullable: true ID: type: string LastModifiedByID: type: string + x-nullable: true LastModifiedDate: type: string x-nullable: true @@ -1952,6 +2004,7 @@ definitions: type: integer Title: type: string + x-nullable: true type: object CourseSectionRequest: description: An array of CourseSection objects @@ -1975,39 +2028,50 @@ definitions: Active: description: Is this database active? type: boolean + x-nullable: true ClusterID: description: The ID of the Cluster in which this database is deployed type: string + x-nullable: true CreatedByID: description: Created By type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true DSN: description: Database connection string type: string + x-nullable: true DatabaseName: description: The name of the physical database in the cluster type: string + x-nullable: true ID: description: Record Id type: string LastModifiedByID: description: Last Modified By type: string + x-nullable: true LastModifiedDate: description: Last Modifed Date type: string + x-nullable: true Status: description: The current status of this Tenant type: string + x-nullable: true TenantID: description: The ID of the tenant who owns this Database type: string + x-nullable: true Type: description: The type of Database (mysql, etc) type: string + x-nullable: true type: object DatabaseRequest: description: An array of Database objects @@ -2033,22 +2097,27 @@ definitions: type: integer CourseID: type: string + x-nullable: true CreatedByID: type: string + x-nullable: true CreatedDate: type: string x-nullable: true EnrollmentDate: type: string + x-nullable: true ID: type: string LastModifiedByID: type: string + x-nullable: true LastModifiedDate: type: string x-nullable: true UserID: type: string + x-nullable: true type: object EnrollmentRequest: description: An array of Enrollment objects @@ -2089,16 +2158,21 @@ definitions: x-nullable: true EndDate: type: string + x-nullable: true ID: type: string Location: type: string + x-nullable: true OrganizeruserID: type: string + x-nullable: true StartDate: type: string + x-nullable: true Title: type: string + x-nullable: true UpDatedat: type: string x-nullable: true @@ -2115,6 +2189,7 @@ definitions: x-nullable: true Name: type: string + x-nullable: true type: object EventCategoryAssignment: properties: @@ -2123,8 +2198,10 @@ definitions: x-nullable: true EventCategoryID: type: string + x-nullable: true EventID: type: string + x-nullable: true ID: type: string UpDatedat: @@ -2183,13 +2260,16 @@ definitions: properties: CreatedByID: type: string + x-nullable: true CreatedDate: type: string x-nullable: true Description: type: string + x-nullable: true FavoriteID: type: string + x-nullable: true Favoritetype: type: string x-nullable: true @@ -2197,17 +2277,22 @@ definitions: type: string LastModifiedByID: type: string + x-nullable: true LastModifiedDate: type: string x-nullable: true Name: type: string + x-nullable: true Path: type: string + x-nullable: true TenantID: type: string + x-nullable: true UserID: type: string + x-nullable: true type: object FavoriteRequest: description: An array of Favorite objects @@ -2231,30 +2316,39 @@ definitions: type: number CourseID: type: string + x-nullable: true CreatedByID: type: string + x-nullable: true CreatedDate: type: string x-nullable: true Currency: type: string + x-nullable: true DueDate: type: string + x-nullable: true ID: type: string Invoicenumber: type: string + x-nullable: true LastModifiedByID: type: string + x-nullable: true LastModifiedDate: type: string x-nullable: true Status: type: string + x-nullable: true TransactionID: type: string + x-nullable: true UserID: type: string + x-nullable: true type: object InvoiceRequest: description: An array of Invoice objects @@ -2276,13 +2370,16 @@ definitions: properties: CertificateID: type: string + x-nullable: true CreatedByID: type: string + x-nullable: true CreatedDate: type: string x-nullable: true EnrollmentID: type: string + x-nullable: true ExpirationDate: type: string x-nullable: true @@ -2290,15 +2387,19 @@ definitions: type: string IssueDate: type: string + x-nullable: true LastModifiedByID: type: string + x-nullable: true LastModifiedDate: type: string x-nullable: true UserID: type: string + x-nullable: true VerificationCode: type: string + x-nullable: true type: object IssuedCertificateRequest: description: An array of IssuedCertificate objects @@ -2325,22 +2426,27 @@ definitions: x-nullable: true CreatedByID: type: string + x-nullable: true CreatedDate: type: string x-nullable: true EnrollmentID: type: string + x-nullable: true ID: type: string LastModifiedByID: type: string + x-nullable: true LastModifiedDate: type: string x-nullable: true LessonID: type: string + x-nullable: true UserID: type: string + x-nullable: true type: object LessonProgressRequest: description: An array of LessonProgress objects @@ -2362,8 +2468,10 @@ definitions: properties: Message: type: string + x-nullable: true Ref: type: string + x-nullable: true Status: type: integer type: object @@ -2377,20 +2485,24 @@ definitions: x-nullable: true EventID: type: string + x-nullable: true ID: type: string OrderStatus: type: string + x-nullable: true PaymentMethod: type: string x-nullable: true TicketID: type: string + x-nullable: true UpDatedat: type: string x-nullable: true UserID: type: string + x-nullable: true type: object OrderRequest: description: An array of Order objects @@ -2427,12 +2539,16 @@ definitions: properties: CardHolderName: type: string + x-nullable: true CardNumber: type: string + x-nullable: true CardType: type: string + x-nullable: true CreatedByID: type: string + x-nullable: true CreatedDate: type: string x-nullable: true @@ -2446,11 +2562,13 @@ definitions: type: integer LastModifiedByID: type: string + x-nullable: true LastModifiedDate: type: string x-nullable: true UserID: type: string + x-nullable: true type: object PaymentMethodRequest: description: An array of PaymentMethod objects @@ -2473,6 +2591,7 @@ definitions: TaxnexusAccount: description: Account Number of the Reseller or OEM type: string + x-nullable: true required: - TaxnexusAccount type: object @@ -2480,33 +2599,42 @@ definitions: properties: AccountID: type: string + x-nullable: true CreatedByID: type: string + x-nullable: true CreatedDate: type: string x-nullable: true Description: type: string + x-nullable: true ID: type: string LastModifiedByID: type: string + x-nullable: true LastModifiedDate: type: string x-nullable: true Name: type: string + x-nullable: true TenantID: type: string + x-nullable: true UserID: type: string + x-nullable: true type: object ResearchProjectCompany: properties: AccountID: type: string + x-nullable: true CreatedByID: type: string + x-nullable: true CreatedDate: type: string x-nullable: true @@ -2514,13 +2642,16 @@ definitions: type: string LastModifiedByID: type: string + x-nullable: true LastModifiedDate: type: string x-nullable: true ResearchProjectID: type: string + x-nullable: true TenantID: type: string + x-nullable: true type: object ResearchProjectCompanyRequest: description: An array of ResearchProjectCompany objects @@ -2558,6 +2689,7 @@ definitions: properties: CreatedByID: type: string + x-nullable: true CreatedDate: type: string x-nullable: true @@ -2565,15 +2697,19 @@ definitions: type: string LastModifiedByID: type: string + x-nullable: true LastModifiedDate: type: string x-nullable: true ResearchProjectID: type: string + x-nullable: true TenantID: type: string + x-nullable: true TopicID: type: string + x-nullable: true type: object ResearchProjectTopicRequest: description: An array of ResearchProjectTopic objects @@ -2635,51 +2771,67 @@ definitions: AccessLevel: description: The makeTenantUser access level for this User type: string + x-nullable: true AccountID: description: Account ID type: string + x-nullable: true Auth0UserID: description: Auth0 User ID type: string + x-nullable: true CompanyName: description: Account Name type: string + x-nullable: true ContactID: description: Contact ID type: string + x-nullable: true TaxnexusAccount: description: Account type: string + x-nullable: true TenantActive: description: Tenant active? type: boolean + x-nullable: true TenantID: description: The Tenant ID type: string + x-nullable: true TenantName: description: Tenant Name type: string + x-nullable: true TenantStatus: description: Tenant Status type: string + x-nullable: true TenantType: description: Tenant type type: string + x-nullable: true TenantVersion: description: Tenant Version type: string + x-nullable: true UserEmail: description: User Email Address type: string + x-nullable: true UserFullName: description: User Full Name type: string + x-nullable: true UserID: description: The User ID type: string + x-nullable: true Username: description: Username type: string + x-nullable: true type: object Role: description: A functional role within a Tenant @@ -2687,30 +2839,38 @@ definitions: Auth0RoleID: description: The corresponding Auth0 Role type: string + x-nullable: true CreatedByID: description: Created By type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true Description: description: Role Description type: string + x-nullable: true ID: description: Record Id type: string LastModifiedByID: description: Last Modified By type: string + x-nullable: true LastModifiedDate: description: Last Modifed Date type: string + x-nullable: true RoleName: description: The name of this role type: string + x-nullable: true TenantID: description: The ID of the Tenant that owns this Role type: string + x-nullable: true type: object RoleRequest: description: An array of Role objects @@ -2735,13 +2895,17 @@ definitions: CompanyID: description: Company type: string + x-nullable: true CreatedByID: type: string + x-nullable: true CreatedDate: type: string + x-nullable: true Description: description: Description type: string + x-nullable: true HTML: description: HTML Body format: byte @@ -2752,31 +2916,41 @@ definitions: IsActive: description: Active? type: boolean + x-nullable: true IsMaster: description: Master Template? type: boolean + x-nullable: true LastModifiedByID: type: string + x-nullable: true LastModifiedDate: type: string + x-nullable: true Name: description: Template Name type: string + x-nullable: true ObjectType: description: Object type: string + x-nullable: true RecordTypeName: description: Record Type Name type: string + x-nullable: true TenantID: description: Tenant that owns this object instance type: string + x-nullable: true Type: description: Type type: string + x-nullable: true URL: description: URL type: string + x-nullable: true type: object TemplateRequest: description: An array of Templates @@ -2802,48 +2976,61 @@ definitions: AccountID: description: The Account that owns this Tenant type: string + x-nullable: true Active: description: Is this Tenant currently active? type: boolean + x-nullable: true CreatedByID: description: Created By type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true Databases: items: $ref: "#/definitions/Database" type: array + x-nullable: true ID: description: Record Id type: string LastModifiedByID: description: Last Modified By type: string + x-nullable: true LastModifiedDate: description: Last Modifed Date type: string + x-nullable: true Roles: items: $ref: "#/definitions/Role" type: array + x-nullable: true Status: description: The current status of this Tenant type: string + x-nullable: true TenantName: description: Name of the Tenant Resource type: string + x-nullable: true TenantUsers: items: $ref: "#/definitions/TenantUser" type: array + x-nullable: true Type: description: The type of Tenant type: string + x-nullable: true Version: description: The version number of the Tenant Onboarding system used to create this tenant type: string + x-nullable: true type: object TenantRequest: description: An array of Tenant objects @@ -2870,6 +3057,7 @@ definitions: x-nullable: true EventID: type: string + x-nullable: true ID: type: string LastModifiedDate: @@ -2882,6 +3070,7 @@ definitions: type: integer Tickettype: type: string + x-nullable: true type: object TicketRequest: description: An array of Ticket objects @@ -2905,31 +3094,39 @@ definitions: type: number CourseID: type: string + x-nullable: true CreatedByID: type: string + x-nullable: true CreatedDate: type: string x-nullable: true Currency: type: string + x-nullable: true EnrollmentID: type: string + x-nullable: true ID: type: string LastModifiedByID: type: string + x-nullable: true LastModifiedDate: type: string x-nullable: true PaymentMethodID: type: string + x-nullable: true Status: type: string x-nullable: true TransactionDate: type: string + x-nullable: true UserID: type: string + x-nullable: true type: object TransactionRequest: description: An array of Transaction objects @@ -2952,196 +3149,243 @@ definitions: APIGatewayURL: description: API Gateway URL type: string + x-nullable: true APIGatewayUser: description: API Gateway User type: string + x-nullable: true APIKey: description: API Key type: string + x-nullable: true AboutMe: description: About Me type: string + x-nullable: true AccountID: description: Account ID type: string + x-nullable: true Address: $ref: "#/definitions/Address" + x-nullable: true Alias: description: Alias type: string + x-nullable: true Auth0UserID: description: Auth0 User Id type: string + x-nullable: true CommunityNickname: description: Nickname type: string + x-nullable: true CompanyName: description: Company Name type: string + x-nullable: true ContactID: description: Contact type: string + x-nullable: true CreatedByID: description: Created User ID type: string + x-nullable: true CreatedDate: description: Date Created type: string + x-nullable: true DelegatedApproverID: description: Delegated Approver type: string + x-nullable: true Department: description: Department type: string + x-nullable: true Division: description: Division type: string + x-nullable: true Email: description: Email address type: string + x-nullable: true EmployeeNumber: description: Employee Number type: string + x-nullable: true EndOfDay: description: Time day ends type: string + x-nullable: true Environment: description: Environment type: string + x-nullable: true Extension: description: Extension type: string - FabricAPIKey: - description: Fabric API Key - type: string + x-nullable: true Fax: description: Fax type: string + x-nullable: true FirstName: description: The first name type: string + x-nullable: true ForecastEnabled: description: Allow Forecasting type: boolean + x-nullable: true FullPhotoURL: description: Full Photo URL type: string + x-nullable: true GitHub: description: GitHub type: string + x-nullable: true ID: description: Record ID type: string IsActive: description: Active type: boolean + x-nullable: true IsPortalEnabled: description: Is the user enabled for Communities? type: boolean - IsProphilePhotoActive: - description: Has Profile Photo - type: boolean + x-nullable: true IsSystemControlled: type: boolean + x-nullable: true LastIP: description: IP address of last login type: string + x-nullable: true LastLogin: description: Last login time type: string + x-nullable: true LastModifiedByID: description: Last Modified User ID type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string + x-nullable: true LastName: description: The Last Name type: string + x-nullable: true LinkedIn: description: LinkedIn type: string + x-nullable: true LoginCount: description: Number of times user has logged in format: int64 type: number + x-nullable: true ManagerID: description: Manager type: string + x-nullable: true MobilePhone: description: Mobile type: string + x-nullable: true Name: description: Name type: string + x-nullable: true OutOfOfficeMessage: description: Out of office message type: string + x-nullable: true Phone: description: Phone type: string + x-nullable: true PortalRole: description: Portal Role Level type: string + x-nullable: true ProfileID: description: Profile type: string + x-nullable: true ReceivesAdminEmails: description: Info Emails type: boolean - ReceivesAdminInfoEmails: - description: Admin Info Emails - type: boolean + x-nullable: true SenderEmail: description: Email Sender Address type: string + x-nullable: true SenderName: description: Email Sender Name type: string - Signature: - description: Email Signature - type: string + x-nullable: true SmallPhotoURL: description: Small Photo URL type: string + x-nullable: true StartOfDay: description: The time day starts type: string + x-nullable: true Status: description: Onboarding Status type: string + x-nullable: true TaxnexusAccount: description: Account type: string + x-nullable: true TenantID: description: Tenant ID associated with this user type: string + x-nullable: true TenantUsers: items: $ref: "#/definitions/TenantUser" type: array + x-nullable: true TimeZone: description: Time Zone type: string + x-nullable: true Title: description: Title type: string + x-nullable: true Twitter: description: Twitter type: string + x-nullable: true UserRoleID: description: Role type: string + x-nullable: true UserRoles: items: $ref: "#/definitions/UserRole" type: array + x-nullable: true UserType: description: User Type type: string + x-nullable: true Username: description: Username type: string + x-nullable: true type: object UserRequest: properties: @@ -3166,42 +3410,55 @@ definitions: AccountID: description: Account Id type: string + x-nullable: true Auth0RoleID: description: Linked role ID type: string + x-nullable: true Auth0UserID: description: Auth0 User ID type: string + x-nullable: true CompanyName: description: Company Name type: string + x-nullable: true ContactID: description: Contact ID type: string + x-nullable: true RoleDescription: description: Role description type: string + x-nullable: true RoleID: description: The Role ID type: string + x-nullable: true RoleName: description: Role Name type: string + x-nullable: true TaxnexusAccount: description: Account Number type: string + x-nullable: true UserEmail: description: User Email Address type: string + x-nullable: true UserFullName: description: User Full Name type: string + x-nullable: true UserID: description: The User ID type: string + x-nullable: true Username: description: Username type: string + x-nullable: true type: object WebhookClerkRequest: description: Clerk webhook object @@ -3220,19 +3477,23 @@ definitions: properties: external_id: type: string + x-nullable: true description: |- The ID of the user as used in your external systems or your previous authentication solution. Must be unique across your instance. first_name: type: string + x-nullable: true description: The first name to assign to the user last_name: type: string + x-nullable: true description: The last name to assign to the user email_address: type: array items: type: string + x-nullable: true description: |- Email addresses to add to the user. Must be unique across your instance. @@ -3241,6 +3502,7 @@ definitions: type: array items: type: string + x-nullable: true description: |- Phone numbers to add to the user. Must be unique across your instance. @@ -3249,28 +3511,33 @@ definitions: type: array items: type: string + x-nullable: true description: |- Web3 wallets to add to the user. Must be unique across your instance. The first wallet will be set as the user's primary wallet. username: type: string + x-nullable: true description: |- The username to give to the user. It must be unique across your instance. password: type: string + x-nullable: true description: |- The plaintext password to give the user. Must be at least 8 characters long, and can not be in any list of hacked passwords. password_digest: type: string + x-nullable: true description: |- In case you already have the password digests and not the passwords, you can use them for the newly created user via this property. The digests should be generated with one of the supported algorithms. The hashing algorithm can be specified using the `password_hasher` property. password_hasher: type: string + x-nullable: true description: |- 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. @@ -3367,6 +3634,7 @@ definitions: Please note that you cannot use this flag if password is the only way for a user to sign into your instance. totp_secret: type: string + x-nullable: true description: |- In case TOTP is configured on the instance, you can provide the secret to enable it on the newly created user without the need to reset it. Please note that currently the supported options are: @@ -3377,6 +3645,7 @@ definitions: type: array items: type: string + x-nullable: true description: |- If Backup Codes are configured on the instance, you can provide them to enable it on the newly created user without the need to reset them. You must provide the backup codes in plain format or the corresponding bcrypt digest. @@ -3395,6 +3664,7 @@ definitions: Note: Since this data can be modified from the frontend, it is not guaranteed to be safe. created_at: type: string + x-nullable: true description: 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`). WebhookClerkResponse: @@ -3402,9 +3672,11 @@ definitions: properties: object: type: string + x-nullable: true type: description: Clerk Name type: string + x-nullable: true data: type: object type: object diff --git a/swagger/external/research-vernonkeenan.yaml b/swagger/external/research-vernonkeenan.yaml index 2e725e2..480d8ad 100644 --- a/swagger/external/research-vernonkeenan.yaml +++ b/swagger/external/research-vernonkeenan.yaml @@ -960,87 +960,131 @@ definitions: City: description: City type: string + x-nullable: true Country: description: Country full name type: string + x-nullable: true CountryCode: description: Country Code type: string + x-nullable: true PostalCode: description: Postal Code type: string + x-nullable: true State: description: State full name type: string + x-nullable: true StateCode: description: State Code type: string + x-nullable: true Street: description: Street number and name type: string + x-nullable: true + type: object + CompanyCategory: + properties: + CloudType: + description: The Type of Cloud Company + type: string + Count: + description: The number of companies + type: number + type: object + CompanyCategoryResponse: + description: An array of CompanyCategory objects produced in response to a request + properties: + Data: + items: + $ref: "#/definitions/CompanyCategory" + type: array + Meta: + $ref: "#/definitions/ResponseMeta" type: object CompanyProduct: description: A software product or service vended by a Company properties: - ID: - description: Record Id - type: string AccountID: description: ID of the Company that owns this Product type: string + x-nullable: true CreatedByID: description: Created By User ID type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true Description: description: Description of product type: string + x-nullable: true FullDescription: description: Full Description of product type: string + x-nullable: true + ID: + description: Record Id + type: string ImageAltText: description: Image Alt Text type: string + x-nullable: true ImageURL: description: Image URL type: string + x-nullable: true Industries: description: Industries - type: array items: $ref: "#/definitions/Industry" + type: array + x-nullable: true LastModifiedByID: description: Last Modified By User ID type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string + x-nullable: true Logo: description: Logo type: string + x-nullable: true Name: description: Product Name type: string + x-nullable: true ProductVideoID: description: Product Video ID type: string + x-nullable: true Published: description: Published type: boolean + x-nullable: true SalesforceSpecific: description: Salesforce Specific type: boolean + x-nullable: true Slug: description: Slug type: string + x-nullable: true TagLine: description: TagLine type: string + x-nullable: true URL: description: Website type: string + x-nullable: true type: object CompanyProductRequest: description: An array of CompanyProduct objects submitted for processing @@ -1070,42 +1114,51 @@ definitions: $ref: "#/definitions/ResponseMeta" type: object Error: - $ref: "../../lib/swagger/defs/error.yaml#/Error" + $ref: ../../lib/swagger/defs/error.yaml#/Error Factor: description: A Factor of analysis within a research topic properties: - ID: - description: Record Id - type: string CreatedByID: description: Created By User ID type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true Description: description: Topic Description type: string + x-nullable: true + ID: + description: Record Id + type: string LastModifiedByID: description: Last Modified By User ID type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string + x-nullable: true Name: description: Factor Name type: string + x-nullable: true Observations: description: The list of Observations used to analyze this industry items: $ref: "#/definitions/Observation" type: array + x-nullable: true Slug: description: The slug of the corresponding page on the CMS type: string + x-nullable: true TopicID: description: The ID of the Topic that owns this Factor type: string + x-nullable: true type: object FactorRequest: description: An array of Factor objects submitted for processing @@ -1126,57 +1179,72 @@ definitions: $ref: "#/definitions/ResponseMeta" type: object FinancialStatement: - type: object description: A financial statement for a company properties: - ID: - description: Record Id - type: string AccessNumber: description: EDGAR Access Number type: string + x-nullable: true AccountID: description: Account ID type: string + x-nullable: true CloudRevenue: description: Cloud Revenue type: number + x-nullable: true CreatedByID: description: Created By User ID type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true Description: description: Description type: string + x-nullable: true EdgarURL: description: EDGAR URL type: string + x-nullable: true FilingType: description: Filing Type type: string + x-nullable: true GrossProfit: description: Gross Profit type: number + x-nullable: true + ID: + description: Record Id + type: string LastModifiedByID: description: Last Modified By User ID type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string + x-nullable: true NetIncome: description: Net Income type: number + x-nullable: true PeriodEndDate: description: Period End Date type: string + x-nullable: true TotalRevenue: description: Total Revenue type: number + x-nullable: true Year: description: Year type: string + x-nullable: true + type: object FinancialStatementRequest: description: An array of FinancialStatement objects submitted for processing properties: @@ -1198,84 +1266,107 @@ definitions: Industry: description: An industry that is being researched properties: - ID: - description: Record Id - type: string CompanyProducts: description: The list of Products in this industry items: $ref: "#/definitions/CompanyProduct" type: array + x-nullable: true CreatedByID: description: Created By User ID type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true Description: description: Industry Description type: string + x-nullable: true + ID: + description: Record Id + type: string ImageAltText: description: Image Alt Text type: string + x-nullable: true ImageURL: description: Image URL type: string + x-nullable: true LastModifiedByID: description: Last Modified By User ID type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string + x-nullable: true Level: description: The hierarchical level of this Industry type: string + x-nullable: true Logo: description: Logo type: string + x-nullable: true Name: description: Industry Name type: string + x-nullable: true ParentIndustryID: description: The ID of the Parent Industry type: string + x-nullable: true Path: description: The full path of this industry, including Parent type: string + x-nullable: true ProductCategory: description: Is this industry a product category? type: boolean + x-nullable: true Slug: description: The CMS Slug for this Industry type: string + x-nullable: true TagLine: description: TagLine type: string + x-nullable: true type: object IndustryCompany: description: Junction object between Industry and Company properties: - ID: - description: Record Id - type: string AccountID: type: string + x-nullable: true CreatedByID: description: Created By User ID type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true + ID: + description: Record Id + type: string IndustryID: type: string + x-nullable: true LastModifiedByID: description: Last Modified By User ID type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string + x-nullable: true Path: type: string + x-nullable: true type: object IndustryCompanyRequest: description: An array of IndustryCompany objects submitted for processing @@ -1300,25 +1391,32 @@ definitions: properties: CompanyProductID: type: string + x-nullable: true CreatedByID: description: Created By User ID type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true HTML: type: string + x-nullable: true ID: description: Record Id type: string IndustryID: type: string + x-nullable: true LastModifiedByID: description: Last Modified By User ID type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string + x-nullable: true type: object IndustryProductRequest: description: An array of IndustryProduct objects submitted for processing @@ -1378,39 +1476,49 @@ definitions: Observation: description: A data point collected while analyzing a Factor properties: - ID: - description: Record Id - type: string AccountID: description: The ID of the Company being analyzed type: string + x-nullable: true CompanyProductID: description: The ID of the Product being analyzed type: string + x-nullable: true CreatedByID: description: Created By User ID type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true Description: description: Notes concerning data collection type: string + x-nullable: true FactorID: description: The ID of the Factor that owns this Observation type: string + x-nullable: true + ID: + description: Record Id + type: string LastModifiedByID: description: Last Modified By User ID type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string + x-nullable: true SubjectType: description: Is the subject a Company or a Product? type: string + x-nullable: true Value: description: The data point collected type: string + x-nullable: true type: object ObservationRequest: description: An array of Observation objects submitted for processing @@ -1494,38 +1602,47 @@ definitions: Topic: description: A research topic that collects data properties: - ID: - description: Record Id - type: string CreatedByID: description: Created By User ID type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true Description: description: Topic Description type: string + x-nullable: true Factors: description: The list of Factors used to analyze this industry items: $ref: "#/definitions/Factor" type: array + x-nullable: true + ID: + description: Record Id + type: string LastModifiedByID: description: Last Modified By User ID type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string + x-nullable: true Name: description: Topic Name type: string + x-nullable: true ParentTopicID: description: The ID of the Parent Topic type: string + x-nullable: true Slug: description: The CMS Slug for this Topic type: string + x-nullable: true type: object TopicRequest: description: An array of Topic objects submitted for processing @@ -1545,22 +1662,3 @@ definitions: Meta: $ref: "#/definitions/ResponseMeta" type: object - CompanyCategory: - properties: - CloudType: - description: The Type of Cloud Company - type: string - Count: - description: The number of companies - type: number - type: object - CompanyCategoryResponse: - description: An array of CompanyCategory objects produced in response to a request - properties: - Data: - items: - $ref: "#/definitions/CompanyCategory" - type: array - Meta: - $ref: "#/definitions/ResponseMeta" - type: object diff --git a/swagger/external/sf-gate-vernonkeenan.yaml b/swagger/external/sf-gate-vernonkeenan.yaml index 2e193b1..a4b075b 100644 --- a/swagger/external/sf-gate-vernonkeenan.yaml +++ b/swagger/external/sf-gate-vernonkeenan.yaml @@ -293,6 +293,7 @@ responses: headers: Access-Control-Allow-Origin: type: string + x-nullable: true schema: $ref: "#/definitions/Error" AccountResponse: @@ -332,6 +333,7 @@ responses: headers: Access-Control-Allow-Origin: type: string + x-nullable: true schema: $ref: "#/definitions/DeleteResponse" FactorResponse: @@ -355,6 +357,7 @@ responses: headers: Access-Control-Allow-Origin: type: string + x-nullable: true schema: $ref: "#/definitions/InvalidError" NotFound: @@ -362,6 +365,7 @@ responses: headers: Access-Control-Allow-Origin: type: string + x-nullable: true schema: $ref: "#/definitions/Error" ObservationResponse: @@ -381,6 +385,7 @@ responses: headers: Access-Control-Allow-Origin: type: string + x-nullable: true schema: $ref: "#/definitions/Error" TemplateResponse: @@ -400,6 +405,7 @@ responses: headers: Access-Control-Allow-Origin: type: string + x-nullable: true schema: $ref: "#/definitions/Error" UnprocessableEntity: @@ -407,6 +413,7 @@ responses: headers: Access-Control-Allow-Origin: type: string + x-nullable: true schema: $ref: "#/definitions/Error" UserResponse: @@ -1455,163 +1462,217 @@ definitions: AccountNumber: description: Account Number type: string + x-nullable: true AccountSource: description: The marketing origin of this account type: string + x-nullable: true Active: type: boolean + x-nullable: true AnnualRevenue: description: Annual Revenue Estimate format: double type: number + x-nullable: true BillingAddress: $ref: "#/definitions/Address" + x-nullable: true BillingContactID: description: Contact ID type: string - CloseDate: - description: Close Date + x-nullable: true + ClosedDate: + description: Closed Date type: string + x-nullable: true CloudRevenueTotal: type: number + x-nullable: true CloudType: description: The type of cloud company type: string + x-nullable: true CloudYear: description: The year company started cloud revenue type: string + x-nullable: true CreatedByID: description: Created By User ID type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true CrunchbaseURL: description: Crunchbase URL type: string + x-nullable: true Description: description: Description of the account type: string + x-nullable: true EIN: type: string + x-nullable: true EarningsCall: description: Earnings Call Date type: string + x-nullable: true Email: description: Main Account Email type: string + x-nullable: true EquityFunding: description: The amount of equity EquityFunding type: number + x-nullable: true Facebook: description: Company Facebook URL type: string + x-nullable: true Fax: description: Fax number type: string + x-nullable: true FoundedDate: description: Date company founded type: string + x-nullable: true ID: - description: Taxnexus Account Id + description: Account Id type: string IPODate: description: IPO Date type: string + x-nullable: true ImageAltText: type: string + x-nullable: true ImageURL: type: string + x-nullable: true Industries: description: Industries type: string + x-nullable: true Industry: description: Industry type: string + x-nullable: true LastModifiedByID: description: Last Modified By User ID type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string + x-nullable: true LinkedIn: description: Company LinkedIn URL type: string + x-nullable: true Location: description: Headquarters Location Description type: string + x-nullable: true Logo: description: Company Logo URL type: string + x-nullable: true MarketCapitalization: description: Market Capitalization type: number + x-nullable: true Name: description: Account Name type: string + x-nullable: true NumberInvestments: description: Number of Investments type: number + x-nullable: true NumberOfEmployees: description: Employee Count Estimate format: int64 type: number + x-nullable: true OwnerID: description: Account Owner User ID type: string + x-nullable: true Ownership: description: Ownership type: string + x-nullable: true ParentID: description: Parent Account type: string + x-nullable: true Phone: description: Phone type: string + x-nullable: true Publish: description: Publish this record? type: boolean + x-nullable: true SIC: description: SIC Code type: string + x-nullable: true SICDesc: description: SIC Description type: string + x-nullable: true SalesforceFirst: description: A Salesforce-First company? type: boolean + x-nullable: true ShippingAddress: $ref: "#/definitions/Address" + x-nullable: true ShippingContactID: description: Shipping Contact ID type: string + x-nullable: true Site: description: Account Site type: string + x-nullable: true Slug: description: Slug type: string + x-nullable: true TagLine: description: Company tagline type: string + x-nullable: true TenantID: description: Tenant Identifier type: string + x-nullable: true TickerSymbol: description: Ticker Symbol type: string + x-nullable: true Twitter: description: Twitter URL type: string + x-nullable: true Type: description: Type type: string + x-nullable: true Website: description: Website type: string + x-nullable: true YearStarted: description: Year Started type: string + x-nullable: true type: object AccountRequest: properties: @@ -1637,164 +1698,216 @@ definitions: City: description: City type: string + x-nullable: true Country: description: Country full name type: string + x-nullable: true CountryCode: description: Country Code type: string + x-nullable: true PostalCode: description: Postal Code type: string + x-nullable: true State: description: State full name type: string + x-nullable: true StateCode: description: State Code type: string + x-nullable: true Street: description: Street number and name type: string + x-nullable: true type: object Asset: properties: AccountID: description: Account type: string + x-nullable: true Address: $ref: "#/definitions/Address" + x-nullable: true AssetLevel: description: Asset Level type: number + x-nullable: true AssetProvidedByID: description: Asset Provided By type: string + x-nullable: true AssetServicedByID: description: Asset Serviced By type: string + x-nullable: true CompanyProductID: description: Company Product type: string + x-nullable: true ConsequenceOfFailure: description: Consequence Of Failure type: string + x-nullable: true ContactID: description: Contact type: string + x-nullable: true CreatedByID: description: Created By type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true CurrentAmount: description: Current Amount type: number + x-nullable: true CurrentLifecycleEndDate: description: Current Lifecycle End Date type: string + x-nullable: true CurrentMrr: description: Current Monthly Recurring Revenue type: number + x-nullable: true CurrentQuantity: description: Current Quantity type: number + x-nullable: true Description: description: Description type: string + x-nullable: true DigitalAssetStatus: description: Digital Asset Status type: string + x-nullable: true ExternalIdentifier: description: External Id type: string + x-nullable: true HasLifecycleManagement: description: Has Lifecycle Management type: boolean + x-nullable: true ID: description: Record Id type: string InstallDate: description: Install Date type: string + x-nullable: true IsCompetitorProduct: description: Competitor Asset type: boolean + x-nullable: true IsInternal: description: Internal Asset type: boolean + x-nullable: true LastModifiedByID: description: Last Modified By type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string + x-nullable: true LocationID: description: Location type: string + x-nullable: true MIMEType: description: MIME Type type: string + x-nullable: true ManufactureDate: description: Manufacture Date type: string + x-nullable: true Name: description: Asset Name type: string + x-nullable: true ParentID: description: Parent Asset type: string + x-nullable: true Price: description: Price type: number + x-nullable: true Product2ID: description: Product type: string + x-nullable: true ProductCode: description: Product Code type: string + x-nullable: true ProductDescription: description: Product Description type: string + x-nullable: true ProductFamily: description: Product Family type: string + x-nullable: true PurchaseDate: description: Purchase Date type: string + x-nullable: true Quantity: description: Quantity type: number + x-nullable: true RootAssetID: description: Root Asset type: string + x-nullable: true SerialNumber: description: Serial Number type: string + x-nullable: true Status: description: Status type: string + x-nullable: true StatusReason: description: Status Reason type: string + x-nullable: true StockKeepingUnit: description: Product SKU type: string + x-nullable: true TenantID: description: Tenant ID type: string + x-nullable: true TotalLifecycleAmount: description: Total Lifecycle Amount type: number + x-nullable: true Type: description: Type type: string + x-nullable: true URL: description: URL type: string + x-nullable: true UsageEndDate: description: Usage End Date type: string + x-nullable: true type: object AssetRequest: description: An array of Asset objects @@ -1819,54 +1932,70 @@ definitions: CreatedByID: description: Created By type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true Description: description: Description type: string + x-nullable: true Environment: description: Environment type: string + x-nullable: true Gateway: description: Gateway type: string + x-nullable: true ID: description: Record Id type: string IpAddress: description: IP Address type: string + x-nullable: true LastModifiedByID: description: Last Modified By type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string + x-nullable: true Name: description: Cluster Name type: string + x-nullable: true OwnerID: description: Owner type: string + x-nullable: true Ref: description: External Reference type: string + x-nullable: true Status: description: Status type: string + x-nullable: true Subnet: description: Subnet type: string + x-nullable: true TenantID: description: tenantid type: string + x-nullable: true Type: description: Type type: string + x-nullable: true Zone: description: Zone type: string + x-nullable: true type: object ClusterRequest: properties: @@ -1898,54 +2027,70 @@ definitions: CreatedByID: description: Created By User ID type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true Description: description: Description of product type: string + x-nullable: true FullDescription: description: Full Description of product type: string + x-nullable: true ID: description: Record Id type: string ImageAltText: description: Image Alt Text type: string + x-nullable: true ImageURL: description: Image URL type: string + x-nullable: true LastModifiedByID: description: Last Modified By User ID type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string + x-nullable: true Logo: description: Logo type: string + x-nullable: true Name: description: Product Name type: string + x-nullable: true ProductVideoID: description: Product Video ID type: string + x-nullable: true Published: description: Published type: boolean + x-nullable: true SalesforceSpecific: description: Salesforce Specific type: boolean + x-nullable: true Slug: description: Slug type: string + x-nullable: true TagLine: description: TagLine type: string + x-nullable: true URL: description: Website type: string + x-nullable: true type: object CompanyProductRequest: properties: @@ -1972,125 +2117,164 @@ definitions: AccountID: description: The primary account ID of this contact type: string + x-nullable: true AssistantName: description: Assistant Name type: string + x-nullable: true AssistantPhone: description: Asst. Phone type: string + x-nullable: true BirthDate: description: Birthdate type: string + x-nullable: true CreatedByID: description: Created By User ID type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true CrunchbaseURL: description: Crunchbase URL type: string + x-nullable: true Department: description: Department type: string + x-nullable: true Description: description: Description type: string + x-nullable: true DoNotCall: description: Do Not Call? type: boolean + x-nullable: true Email: description: Email address type: string + x-nullable: true EmailBounceDate: description: Email Bounce Date type: string + x-nullable: true EmailBounceReason: description: Email Bounce Reason type: string + x-nullable: true Facebook: description: Fax Number type: string + x-nullable: true Fax: type: string + x-nullable: true FirstName: description: First Name type: string + x-nullable: true HasOptedOutOfEmail: description: Email Opt Out type: boolean + x-nullable: true HasOptedOutOfFax: description: Fax Opt Out type: boolean + x-nullable: true HomePhone: description: Home Phone type: string + x-nullable: true ID: description: Record Id type: string IsEmailBounced: description: Does this contact have bounced emails? type: boolean + x-nullable: true LastModifiedByID: description: Last Modified By User ID type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string + x-nullable: true LastName: description: Last Name type: string + x-nullable: true LeadSource: description: Lead Source type: string + x-nullable: true LinkedIn: description: LinkedIn Page type: string + x-nullable: true MailingAddress: $ref: "#/definitions/Address" MobilePhone: description: Mobile Phone type: string + x-nullable: true Name: description: Full Name type: string + x-nullable: true NumberInvestments: description: Number of Investments type: number + x-nullable: true OtherAddress: $ref: "#/definitions/Address" OtherPhone: description: Other Phone type: string + x-nullable: true OwnerID: description: The User ID of the user who owns this Contact type: string + x-nullable: true PersonalEmail: description: Personal Email Address for this Contact type: string + x-nullable: true Phone: description: Phone Number type: string + x-nullable: true PhotoURL: description: URL of a photograph of this User type: string + x-nullable: true ReportsToID: description: Reports To User ID type: string + x-nullable: true Salutation: description: Salutation type: string + x-nullable: true Slug: description: Slug type: string + x-nullable: true TenantID: description: tenant identifier type: string + x-nullable: true Title: description: Contact Title type: string + x-nullable: true Twitter: type: string + x-nullable: true type: object ContactRequest: properties: @@ -2117,96 +2301,124 @@ definitions: AccountID: description: Account type: string + x-nullable: true ActivatedByID: description: Activated By type: string + x-nullable: true ActivatedDate: description: Activated Date type: string + x-nullable: true BillingAddress: $ref: "#/definitions/Address" description: Billing Address BillingContactID: description: Billing Contact type: string + x-nullable: true CompanySignedDate: description: Company Signed Date type: string + x-nullable: true CompanySignedID: description: Company Signed By type: string + x-nullable: true ContractNumber: description: Contract Number type: string + x-nullable: true ContractTerm: description: Contract Term (months) type: number + x-nullable: true CreatedByID: description: Created By User ID type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true CustomerSignedDate: description: Customer Signed Date type: string + x-nullable: true CustomerSignedID: description: Customer Signed By type: string + x-nullable: true CustomerSignedTitle: description: Customer Signed Title type: string + x-nullable: true DefaultEndUserID: description: End User type: string + x-nullable: true Description: description: Description type: string + x-nullable: true EndDate: description: Contract End Date type: string + x-nullable: true EndUserID: description: End User type: string + x-nullable: true HourlyRate: description: Hourly Rate type: number + x-nullable: true ID: description: Telnexus Record Id type: string LastModifiedByID: description: Last Modified By User ID type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string + x-nullable: true Name: description: Contract Name type: string + x-nullable: true PaymentMethodID: description: Payment Method type: string + x-nullable: true PaymentTerms: description: Payment Terms type: string + x-nullable: true Perpetual: description: Perpetual Agreement? type: boolean + x-nullable: true ShippingAddress: $ref: "#/definitions/Address" description: Shipping Address ShippingContactID: description: Shipping Contact type: string + x-nullable: true StartDate: description: Contract Start Date type: string + x-nullable: true Status: description: Status type: string + x-nullable: true TenantID: description: Tenant Identifier type: string + x-nullable: true type: object ContractRequest: properties: @@ -2230,42 +2442,54 @@ definitions: Active: description: Is this database active? type: boolean + x-nullable: true ClusterID: description: The ID of the Cluster in which this database is deployed type: string + x-nullable: true CreatedByID: description: Created By type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true DSN: description: Database connection string type: string + x-nullable: true DatabaseName: description: The name of the physical database in the cluster type: string + x-nullable: true ID: description: Record Id type: string LastModifiedByID: description: Last Modified By type: string + x-nullable: true LastModifiedDate: description: Last Modifed Date type: string + x-nullable: true Microservices: description: List of microservices implemented by this Database type: string + x-nullable: true Status: description: The current status of this Tenant type: string + x-nullable: true TenantID: description: The ID of the tenant who owns this Database type: string + x-nullable: true Type: description: The type of Database (mysql, etc) type: string + x-nullable: true type: object DatabaseRequest: description: An array of Database objects @@ -2312,35 +2536,44 @@ definitions: CreatedByID: description: Created By User ID type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true Description: description: Topic Description type: string + x-nullable: true ID: description: Record Id type: string LastModifiedByID: description: Last Modified By User ID type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string + x-nullable: true Name: description: Factor Name type: string + x-nullable: true Observations: description: The list of Observations used to analyze this industry items: $ref: "#/definitions/Observation" type: array + x-nullable: true Slug: description: The slug of the corresponding page on the CMS type: string + x-nullable: true TopicID: description: The ID of the Topic that owns this Factor type: string + x-nullable: true type: object FactorRequest: description: An array of Factor objects submitted for processing @@ -2366,51 +2599,66 @@ definitions: AccessNumber: description: EDGAR Access Number type: string + x-nullable: true AccountID: description: Account ID type: string + x-nullable: true CloudRevenue: description: Cloud Revenue type: number + x-nullable: true CreatedByID: description: Created By User ID type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true Description: description: Description type: string + x-nullable: true EdgarURL: description: EDGAR URL type: string + x-nullable: true FilingType: description: Filing Type type: string + x-nullable: true GrossProfit: description: Gross Profit type: number + x-nullable: true ID: description: Record Id type: string LastModifiedByID: description: Last Modified By User ID type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string + x-nullable: true NetIncome: description: Net Income type: number + x-nullable: true PeriodEndDate: description: Period End Date type: string + x-nullable: true TotalRevenue: description: Total Revenue type: number + x-nullable: true Year: description: Year type: string + x-nullable: true type: object FinancialStatementRequest: description: An array of FinancialStatement objects submitted for processing @@ -2437,6 +2685,7 @@ definitions: description: The AccountIDs of the Companies in this Industry items: type: string + x-nullable: true type: array CompanyProducts: description: The list of Products in this industry @@ -2446,79 +2695,102 @@ definitions: CreatedByID: description: Created By User ID type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true Description: description: Industry Description type: string + x-nullable: true ID: description: Record Id type: string ImageAltText: description: Image Alt Text type: string + x-nullable: true ImageURL: description: Image URL type: string + x-nullable: true LastModifiedByID: description: Last Modified By User ID type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string + x-nullable: true Level: description: The hierarchical level of this Industry type: string + x-nullable: true Logo: description: Logo type: string + x-nullable: true Name: description: Industry Name type: string + x-nullable: true ParentIndustryID: description: The ID of the Parent Industry type: string + x-nullable: true Path: description: The full path of this industry, including Parent type: string + x-nullable: true ProductCategory: description: Is this industry a Product Category? type: boolean + x-nullable: true SiteURL: description: The URL of the corresponding page on the CMS type: string + x-nullable: true Slug: description: The CMS Slug for this Industry type: string + x-nullable: true TagLine: description: TagLine type: string + x-nullable: true type: object IndustryCompany: description: Junction object between Industry and Company properties: CompanyID: type: string + x-nullable: true CreatedByID: description: Created By User ID type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true ID: description: Record Id type: string IndustryID: type: string + x-nullable: true LastModifiedByID: description: Last Modified By User ID type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string + x-nullable: true Path: type: string + x-nullable: true type: object IndustryCompanyRequest: description: An array of IndustryCompany objects submitted for processing @@ -2545,12 +2817,15 @@ definitions: $ref: "#/definitions/CompanyProduct" CompanyProductID: type: string + x-nullable: true CreatedByID: description: Created By User ID type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true ID: description: Record Id type: string @@ -2558,12 +2833,15 @@ definitions: $ref: "#/definitions/Industry" IndustryID: type: string + x-nullable: true LastModifiedByID: description: Last Modified By User ID type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string + x-nullable: true type: object IndustryProductRequest: description: An array of IndustryProduct objects submitted for processing @@ -2616,6 +2894,7 @@ definitions: type: string ref: type: string + x-nullable: true status: format: int64 type: number @@ -2626,36 +2905,46 @@ definitions: AccountID: description: The ID of the Company being analyzed type: string + x-nullable: true CompanyProductID: description: The ID of the Product being analyzed type: string + x-nullable: true CreatedByID: description: Created By User ID type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true Description: description: Notes concerning data collection type: string + x-nullable: true FactorID: description: The ID of the Factor that owns this Observation type: string + x-nullable: true ID: description: Record Id type: string LastModifiedByID: description: Last Modified By User ID type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string + x-nullable: true SubjectType: description: Is the subject a Company or a Product? type: string + x-nullable: true Value: description: The data point collected type: string + x-nullable: true type: object ObservationRequest: description: An array of Observation objects submitted for processing @@ -2695,8 +2984,6 @@ definitions: TaxnexusAccount: description: Account Number of the Reseller or OEM type: string - required: - - TaxnexusAccount type: object ResponseMeta: properties: @@ -2742,30 +3029,38 @@ definitions: Auth0RoleID: description: the corresponding auth0 role type: string + x-nullable: true "CreatedByID:": description: created by type: string + x-nullable: true CreatedDate: description: created date type: string + x-nullable: true Description: description: role description type: string + x-nullable: true ID: description: record id type: string LastModifiedByID: description: last modified by type: string + x-nullable: true LastModifiedDate: description: last modifed date type: string + x-nullable: true RoleName: description: the name of this role type: string + x-nullable: true TenantID: description: the id of the tenant that owns this role type: string + x-nullable: true type: object RoleRequest: description: An array of Role objects @@ -2807,46 +3102,60 @@ definitions: properties: CreatedByID: type: string + x-nullable: true CreatedDate: type: string + x-nullable: true Description: description: Description type: string + x-nullable: true HTML: description: HTML Body format: byte type: string + x-nullable: true ID: description: Record Id type: string IsActive: description: Active? type: boolean + x-nullable: true IsMaster: description: Master Template? type: boolean + x-nullable: true LastModifiedByID: type: string + x-nullable: true LastModifiedDate: type: string + x-nullable: true Name: description: Template Name type: string + x-nullable: true ObjectType: description: Object type: string + x-nullable: true RecordTypeName: description: Record Type Name type: string + x-nullable: true TenantID: description: tenant identifier type: string + x-nullable: true Type: description: Type type: string + x-nullable: true URL: description: URL type: string + x-nullable: true type: object TemplateResponse: properties: @@ -2863,15 +3172,19 @@ definitions: AccountID: description: The Account that owns this Tenant type: string + x-nullable: true Active: description: Is this Tenant currently active? type: boolean + x-nullable: true CreatedByID: description: Created By type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true Databases: items: $ref: "#/definitions/Database" @@ -2882,9 +3195,11 @@ definitions: LastModifiedByID: description: Last Modified By type: string + x-nullable: true LastModifiedDate: description: Last Modifed Date type: string + x-nullable: true Roles: items: $ref: "#/definitions/Role" @@ -2892,9 +3207,11 @@ definitions: Status: description: The current status of this Tenant type: string + x-nullable: true TenantName: description: Name of the Tenant Resource type: string + x-nullable: true TenantUsers: items: $ref: "#/definitions/TenantUser" @@ -2902,9 +3219,11 @@ definitions: Type: description: Type of tenant type: string + x-nullable: true Version: description: The version number of the Tenant Onboarding system used to create this tenant type: string + x-nullable: true type: object TenantRequest: description: An array of Tenant objects @@ -2929,13 +3248,13 @@ definitions: TenantUser: description: Relationship object that connects users to a tenant properties: - accesslevel: + AccessLevel: description: The Tenant access level for this User type: string - tenantid: + TemamtOD: description: The Tenant ID type: string - userid: + UserID: description: The User ID type: string type: object @@ -2945,35 +3264,44 @@ definitions: CreatedByID: description: Created By User ID type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true Description: description: Topic Description type: string + x-nullable: true Factors: description: The list of Factors used to analyze this industry items: $ref: "#/definitions/Factor" type: array + x-nullable: true ID: description: Record Id type: string LastModifiedByID: description: Last Modified By User ID type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string + x-nullable: true Name: description: Topic Name type: string + x-nullable: true ParentTopicID: description: The ID of the Parent Topic type: string + x-nullable: true Slug: description: The CMS Slug for this Topic type: string + x-nullable: true type: object TopicRequest: description: An array of Topic objects submitted for processing @@ -2998,199 +3326,263 @@ definitions: APIGatewayURL: description: API Gateway URL type: string + x-nullable: true APIGatewayUser: description: API Gateway User type: string + x-nullable: true APIKey: description: API Key type: string + x-nullable: true AboutMe: description: About Me type: string + x-nullable: true AccountID: description: Account ID type: string + x-nullable: true Address: $ref: "#/definitions/Address" + x-nullable: true Alias: description: Alias type: string + x-nullable: true Auth0UserID: description: Auth0 User Id type: string + x-nullable: true CommunityNickname: description: Nickname type: string + x-nullable: true CompanyName: description: Company Name type: string + x-nullable: true ContactID: description: Contact type: string + x-nullable: true CreatedByID: description: Created User ID type: string + x-nullable: true CreatedDate: description: Date Created type: string + x-nullable: true DelegatedApproverID: description: Delegated Approver type: string + x-nullable: true Department: description: Department type: string + x-nullable: true Division: description: Division type: string + x-nullable: true Email: description: Email address type: string + x-nullable: true EmployeeNumber: description: Employee Number type: string + x-nullable: true EndOfDay: description: Time day ends type: string + x-nullable: true Environment: description: Environment type: string + x-nullable: true Extension: description: Extension type: string + x-nullable: true FabricAPIKey: description: Fabric API Key type: string + x-nullable: true Fax: description: Fax type: string + x-nullable: true FirstName: description: The first name type: string + x-nullable: true ForecastEnabled: description: Allow Forecasting type: boolean + x-nullable: true FullPhotoURL: description: Full Photo URL type: string + x-nullable: true GitHub: description: GitHub type: string + x-nullable: true ID: description: Record ID type: string IsActive: description: Active type: boolean + x-nullable: true IsPortalEnabled: description: Is the user enabled for Communities? type: boolean + x-nullable: true IsProfilePhotoActive: description: Has Profile Photo type: boolean + x-nullable: true IsSystemControlled: type: boolean + x-nullable: true LastIP: description: IP address of last login type: string + x-nullable: true LastLogin: description: Last login time type: string + x-nullable: true LastModifiedByID: description: Last Modified User ID type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string + x-nullable: true LastName: description: The Last Name type: string + x-nullable: true LinkedIn: description: LinkedIn type: string + x-nullable: true LoginCount: description: Number of times user has logged in format: int64 type: number + x-nullable: true ManagerID: description: Manager type: string + x-nullable: true MobilePhone: description: Mobile type: string + x-nullable: true Name: description: Name type: string + x-nullable: true OutOfOfficeMessage: description: Out of office message type: string + x-nullable: true Phone: description: Phone type: string + x-nullable: true PortalRole: description: Portal Role Level type: string + x-nullable: true ProfileID: description: Profile type: string + x-nullable: true ReceivesAdminEmails: description: Info Emails type: boolean + x-nullable: true ReceivesAdminInfoEmails: description: Admin Info Emails type: boolean + x-nullable: true ReceivesInfoEmails: description: Info Emails type: boolean + x-nullable: true SenderEmail: description: Email Sender Address type: string + x-nullable: true SenderName: description: Email Sender Name type: string + x-nullable: true Signature: description: Email Signature type: string + x-nullable: true SmallPhotoURL: description: Small Photo URL type: string + x-nullable: true StartOfDay: description: The time day starts type: string + x-nullable: true Status: description: Status type: string + x-nullable: true TaxnexusAccount: - description: Taxnexus Account + description: Account type: string + x-nullable: true TenantID: description: Tenant ID associated with this user type: string + x-nullable: true TenantUsers: items: $ref: "#/definitions/TenantUser" type: array + x-nullable: true TimeZone: description: Time Zone type: string + x-nullable: true Title: description: Title type: string + x-nullable: true Twitter: description: Twitter type: string + x-nullable: true UserRoleID: description: Role type: string + x-nullable: true UserRoles: items: $ref: "#/definitions/UserRole" type: array + x-nullable: true UserType: description: User Type type: string + x-nullable: true Username: description: Username type: string + x-nullable: true type: object UserRequest: description: An array of User Objects to post @@ -3215,13 +3607,16 @@ definitions: properties: Auth0roleID: type: string + x-nullable: true CreatedByID: type: string + x-nullable: true CreatedDate: type: string x-nullable: true Description: type: string + x-nullable: true ID: type: string # Industries: @@ -3231,13 +3626,17 @@ definitions: # $ref: "#/definitions/Industry" LastModifiedByID: type: string + x-nullable: true LastModifiedDate: type: string x-nullable: true Name: type: string + x-nullable: true RoleID: type: string + x-nullable: true UserID: type: string + x-nullable: true type: object diff --git a/swagger/members-vernonkeenan.yaml b/swagger/members-vernonkeenan.yaml index 81dfa3f..1bb5dd1 100644 --- a/swagger/members-vernonkeenan.yaml +++ b/swagger/members-vernonkeenan.yaml @@ -293,6 +293,7 @@ responses: headers: Access-Control-Allow-Origin: type: string + x-nullable: true schema: $ref: "#/definitions/Error" AttendeeResponse: @@ -323,6 +324,7 @@ responses: headers: Access-Control-Allow-Origin: type: string + x-nullable: true description: Response with Database objects schema: $ref: "#/definitions/DatabaseResponse" @@ -363,6 +365,7 @@ responses: headers: Access-Control-Allow-Origin: type: string + x-nullable: true schema: $ref: "#/definitions/Error" OrderResponse: @@ -390,12 +393,14 @@ responses: headers: Access-Control-Allow-Origin: type: string + x-nullable: true schema: $ref: "#/definitions/Error" TenantResponse: headers: Access-Control-Allow-Origin: type: string + x-nullable: true description: Response with Tenant objects schema: $ref: "#/definitions/TenantResponse" @@ -1683,24 +1688,31 @@ definitions: City: description: City type: string + x-nullable: true Country: description: Country full name type: string + x-nullable: true CountryCode: description: Country Code type: string + x-nullable: true PostalCode: description: Postal Code type: string + x-nullable: true State: description: State full name type: string + x-nullable: true StateCode: description: State Code type: string + x-nullable: true Street: description: Street number and name type: string + x-nullable: true type: object Attendee: properties: @@ -1711,6 +1723,7 @@ definitions: x-nullable: true EventID: type: string + x-nullable: true ID: type: string LastModifiedDate: @@ -1718,8 +1731,10 @@ definitions: x-nullable: true TicketID: type: string + x-nullable: true UserID: type: string + x-nullable: true type: object AttendeeRequest: description: An array of Attendee objects @@ -1741,10 +1756,13 @@ definitions: properties: CertificateTemplate: type: string + x-nullable: true CourseID: type: string + x-nullable: true CreatedByID: type: string + x-nullable: true CreatedDate: type: string x-nullable: true @@ -1755,11 +1773,13 @@ definitions: type: string LastModifiedByID: type: string + x-nullable: true LastModifiedDate: type: string x-nullable: true Title: type: string + x-nullable: true type: object CertificateRequest: description: An array of Certificate objects @@ -1782,54 +1802,70 @@ definitions: CreatedByID: description: Created By type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true Description: description: Description type: string + x-nullable: true Environment: description: Environment type: string + x-nullable: true Gateway: description: Gateway type: string + x-nullable: true ID: description: Record Id type: string IPAddress: description: IP Address type: string + x-nullable: true LastModifiedByID: description: Last Modified By type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string + x-nullable: true Name: description: Cluster Name type: string + x-nullable: true OwnerID: description: Owner type: string + x-nullable: true Ref: description: External Reference type: string + x-nullable: true Status: description: Status type: string + x-nullable: true Subnet: description: Subnet type: string + x-nullable: true TenantID: description: The ID of the tenant who owns this Database type: string + x-nullable: true Type: description: Type type: string + x-nullable: true Zone: description: Zone type: string + x-nullable: true type: object ClusterRequest: properties: @@ -1852,19 +1888,24 @@ definitions: properties: CreatedByID: type: string + x-nullable: true CreatedDate: type: string x-nullable: true Description: type: string + x-nullable: true Fulldescription: type: string + x-nullable: true ID: type: string InstructorID: type: string + x-nullable: true LastModifiedByID: type: string + x-nullable: true LastModifiedDate: type: string x-nullable: true @@ -1872,13 +1913,16 @@ definitions: type: number Title: type: string + x-nullable: true type: object CourseLesson: properties: Content: type: string + x-nullable: true CreatedByID: type: string + x-nullable: true CreatedDate: type: string x-nullable: true @@ -1886,6 +1930,7 @@ definitions: type: string LastModifiedByID: type: string + x-nullable: true LastModifiedDate: type: string x-nullable: true @@ -1893,10 +1938,13 @@ definitions: type: integer SectionID: type: string + x-nullable: true Title: type: string + x-nullable: true VideoURL: type: string + x-nullable: true type: object CourseLessonRequest: description: An array of CourseLesson objects @@ -1934,17 +1982,21 @@ definitions: properties: CourseID: type: string + x-nullable: true CreatedByID: type: string + x-nullable: true CreatedDate: type: string x-nullable: true Description: type: string + x-nullable: true ID: type: string LastModifiedByID: type: string + x-nullable: true LastModifiedDate: type: string x-nullable: true @@ -1952,6 +2004,7 @@ definitions: type: integer Title: type: string + x-nullable: true type: object CourseSectionRequest: description: An array of CourseSection objects @@ -1975,39 +2028,50 @@ definitions: Active: description: Is this database active? type: boolean + x-nullable: true ClusterID: description: The ID of the Cluster in which this database is deployed type: string + x-nullable: true CreatedByID: description: Created By type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true DSN: description: Database connection string type: string + x-nullable: true DatabaseName: description: The name of the physical database in the cluster type: string + x-nullable: true ID: description: Record Id type: string LastModifiedByID: description: Last Modified By type: string + x-nullable: true LastModifiedDate: description: Last Modifed Date type: string + x-nullable: true Status: description: The current status of this Tenant type: string + x-nullable: true TenantID: description: The ID of the tenant who owns this Database type: string + x-nullable: true Type: description: The type of Database (mysql, etc) type: string + x-nullable: true type: object DatabaseRequest: description: An array of Database objects @@ -2033,22 +2097,27 @@ definitions: type: integer CourseID: type: string + x-nullable: true CreatedByID: type: string + x-nullable: true CreatedDate: type: string x-nullable: true EnrollmentDate: type: string + x-nullable: true ID: type: string LastModifiedByID: type: string + x-nullable: true LastModifiedDate: type: string x-nullable: true UserID: type: string + x-nullable: true type: object EnrollmentRequest: description: An array of Enrollment objects @@ -2089,16 +2158,21 @@ definitions: x-nullable: true EndDate: type: string + x-nullable: true ID: type: string Location: type: string + x-nullable: true OrganizeruserID: type: string + x-nullable: true StartDate: type: string + x-nullable: true Title: type: string + x-nullable: true UpDatedat: type: string x-nullable: true @@ -2115,6 +2189,7 @@ definitions: x-nullable: true Name: type: string + x-nullable: true type: object EventCategoryAssignment: properties: @@ -2123,8 +2198,10 @@ definitions: x-nullable: true EventCategoryID: type: string + x-nullable: true EventID: type: string + x-nullable: true ID: type: string UpDatedat: @@ -2183,13 +2260,16 @@ definitions: properties: CreatedByID: type: string + x-nullable: true CreatedDate: type: string x-nullable: true Description: type: string + x-nullable: true FavoriteID: type: string + x-nullable: true Favoritetype: type: string x-nullable: true @@ -2197,17 +2277,22 @@ definitions: type: string LastModifiedByID: type: string + x-nullable: true LastModifiedDate: type: string x-nullable: true Name: type: string + x-nullable: true Path: type: string + x-nullable: true TenantID: type: string + x-nullable: true UserID: type: string + x-nullable: true type: object FavoriteRequest: description: An array of Favorite objects @@ -2231,30 +2316,39 @@ definitions: type: number CourseID: type: string + x-nullable: true CreatedByID: type: string + x-nullable: true CreatedDate: type: string x-nullable: true Currency: type: string + x-nullable: true DueDate: type: string + x-nullable: true ID: type: string Invoicenumber: type: string + x-nullable: true LastModifiedByID: type: string + x-nullable: true LastModifiedDate: type: string x-nullable: true Status: type: string + x-nullable: true TransactionID: type: string + x-nullable: true UserID: type: string + x-nullable: true type: object InvoiceRequest: description: An array of Invoice objects @@ -2276,13 +2370,16 @@ definitions: properties: CertificateID: type: string + x-nullable: true CreatedByID: type: string + x-nullable: true CreatedDate: type: string x-nullable: true EnrollmentID: type: string + x-nullable: true ExpirationDate: type: string x-nullable: true @@ -2290,15 +2387,19 @@ definitions: type: string IssueDate: type: string + x-nullable: true LastModifiedByID: type: string + x-nullable: true LastModifiedDate: type: string x-nullable: true UserID: type: string + x-nullable: true VerificationCode: type: string + x-nullable: true type: object IssuedCertificateRequest: description: An array of IssuedCertificate objects @@ -2325,22 +2426,27 @@ definitions: x-nullable: true CreatedByID: type: string + x-nullable: true CreatedDate: type: string x-nullable: true EnrollmentID: type: string + x-nullable: true ID: type: string LastModifiedByID: type: string + x-nullable: true LastModifiedDate: type: string x-nullable: true LessonID: type: string + x-nullable: true UserID: type: string + x-nullable: true type: object LessonProgressRequest: description: An array of LessonProgress objects @@ -2362,8 +2468,10 @@ definitions: properties: Message: type: string + x-nullable: true Ref: type: string + x-nullable: true Status: type: integer type: object @@ -2377,20 +2485,24 @@ definitions: x-nullable: true EventID: type: string + x-nullable: true ID: type: string OrderStatus: type: string + x-nullable: true PaymentMethod: type: string x-nullable: true TicketID: type: string + x-nullable: true UpDatedat: type: string x-nullable: true UserID: type: string + x-nullable: true type: object OrderRequest: description: An array of Order objects @@ -2427,12 +2539,16 @@ definitions: properties: CardHolderName: type: string + x-nullable: true CardNumber: type: string + x-nullable: true CardType: type: string + x-nullable: true CreatedByID: type: string + x-nullable: true CreatedDate: type: string x-nullable: true @@ -2446,11 +2562,13 @@ definitions: type: integer LastModifiedByID: type: string + x-nullable: true LastModifiedDate: type: string x-nullable: true UserID: type: string + x-nullable: true type: object PaymentMethodRequest: description: An array of PaymentMethod objects @@ -2473,6 +2591,7 @@ definitions: TaxnexusAccount: description: Account Number of the Reseller or OEM type: string + x-nullable: true required: - TaxnexusAccount type: object @@ -2480,33 +2599,42 @@ definitions: properties: AccountID: type: string + x-nullable: true CreatedByID: type: string + x-nullable: true CreatedDate: type: string x-nullable: true Description: type: string + x-nullable: true ID: type: string LastModifiedByID: type: string + x-nullable: true LastModifiedDate: type: string x-nullable: true Name: type: string + x-nullable: true TenantID: type: string + x-nullable: true UserID: type: string + x-nullable: true type: object ResearchProjectCompany: properties: AccountID: type: string + x-nullable: true CreatedByID: type: string + x-nullable: true CreatedDate: type: string x-nullable: true @@ -2514,13 +2642,16 @@ definitions: type: string LastModifiedByID: type: string + x-nullable: true LastModifiedDate: type: string x-nullable: true ResearchProjectID: type: string + x-nullable: true TenantID: type: string + x-nullable: true type: object ResearchProjectCompanyRequest: description: An array of ResearchProjectCompany objects @@ -2558,6 +2689,7 @@ definitions: properties: CreatedByID: type: string + x-nullable: true CreatedDate: type: string x-nullable: true @@ -2565,15 +2697,19 @@ definitions: type: string LastModifiedByID: type: string + x-nullable: true LastModifiedDate: type: string x-nullable: true ResearchProjectID: type: string + x-nullable: true TenantID: type: string + x-nullable: true TopicID: type: string + x-nullable: true type: object ResearchProjectTopicRequest: description: An array of ResearchProjectTopic objects @@ -2635,51 +2771,67 @@ definitions: AccessLevel: description: The makeTenantUser access level for this User type: string + x-nullable: true AccountID: description: Account ID type: string + x-nullable: true Auth0UserID: description: Auth0 User ID type: string + x-nullable: true CompanyName: description: Account Name type: string + x-nullable: true ContactID: description: Contact ID type: string + x-nullable: true TaxnexusAccount: description: Account type: string + x-nullable: true TenantActive: description: Tenant active? type: boolean + x-nullable: true TenantID: description: The Tenant ID type: string + x-nullable: true TenantName: description: Tenant Name type: string + x-nullable: true TenantStatus: description: Tenant Status type: string + x-nullable: true TenantType: description: Tenant type type: string + x-nullable: true TenantVersion: description: Tenant Version type: string + x-nullable: true UserEmail: description: User Email Address type: string + x-nullable: true UserFullName: description: User Full Name type: string + x-nullable: true UserID: description: The User ID type: string + x-nullable: true Username: description: Username type: string + x-nullable: true type: object Role: description: A functional role within a Tenant @@ -2687,30 +2839,38 @@ definitions: Auth0RoleID: description: The corresponding Auth0 Role type: string + x-nullable: true CreatedByID: description: Created By type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true Description: description: Role Description type: string + x-nullable: true ID: description: Record Id type: string LastModifiedByID: description: Last Modified By type: string + x-nullable: true LastModifiedDate: description: Last Modifed Date type: string + x-nullable: true RoleName: description: The name of this role type: string + x-nullable: true TenantID: description: The ID of the Tenant that owns this Role type: string + x-nullable: true type: object RoleRequest: description: An array of Role objects @@ -2735,13 +2895,17 @@ definitions: CompanyID: description: Company type: string + x-nullable: true CreatedByID: type: string + x-nullable: true CreatedDate: type: string + x-nullable: true Description: description: Description type: string + x-nullable: true HTML: description: HTML Body format: byte @@ -2752,31 +2916,41 @@ definitions: IsActive: description: Active? type: boolean + x-nullable: true IsMaster: description: Master Template? type: boolean + x-nullable: true LastModifiedByID: type: string + x-nullable: true LastModifiedDate: type: string + x-nullable: true Name: description: Template Name type: string + x-nullable: true ObjectType: description: Object type: string + x-nullable: true RecordTypeName: description: Record Type Name type: string + x-nullable: true TenantID: description: Tenant that owns this object instance type: string + x-nullable: true Type: description: Type type: string + x-nullable: true URL: description: URL type: string + x-nullable: true type: object TemplateRequest: description: An array of Templates @@ -2802,48 +2976,61 @@ definitions: AccountID: description: The Account that owns this Tenant type: string + x-nullable: true Active: description: Is this Tenant currently active? type: boolean + x-nullable: true CreatedByID: description: Created By type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true Databases: items: $ref: "#/definitions/Database" type: array + x-nullable: true ID: description: Record Id type: string LastModifiedByID: description: Last Modified By type: string + x-nullable: true LastModifiedDate: description: Last Modifed Date type: string + x-nullable: true Roles: items: $ref: "#/definitions/Role" type: array + x-nullable: true Status: description: The current status of this Tenant type: string + x-nullable: true TenantName: description: Name of the Tenant Resource type: string + x-nullable: true TenantUsers: items: $ref: "#/definitions/TenantUser" type: array + x-nullable: true Type: description: The type of Tenant type: string + x-nullable: true Version: description: The version number of the Tenant Onboarding system used to create this tenant type: string + x-nullable: true type: object TenantRequest: description: An array of Tenant objects @@ -2870,6 +3057,7 @@ definitions: x-nullable: true EventID: type: string + x-nullable: true ID: type: string LastModifiedDate: @@ -2882,6 +3070,7 @@ definitions: type: integer Tickettype: type: string + x-nullable: true type: object TicketRequest: description: An array of Ticket objects @@ -2905,31 +3094,39 @@ definitions: type: number CourseID: type: string + x-nullable: true CreatedByID: type: string + x-nullable: true CreatedDate: type: string x-nullable: true Currency: type: string + x-nullable: true EnrollmentID: type: string + x-nullable: true ID: type: string LastModifiedByID: type: string + x-nullable: true LastModifiedDate: type: string x-nullable: true PaymentMethodID: type: string + x-nullable: true Status: type: string x-nullable: true TransactionDate: type: string + x-nullable: true UserID: type: string + x-nullable: true type: object TransactionRequest: description: An array of Transaction objects @@ -2952,196 +3149,243 @@ definitions: APIGatewayURL: description: API Gateway URL type: string + x-nullable: true APIGatewayUser: description: API Gateway User type: string + x-nullable: true APIKey: description: API Key type: string + x-nullable: true AboutMe: description: About Me type: string + x-nullable: true AccountID: description: Account ID type: string + x-nullable: true Address: $ref: "#/definitions/Address" + x-nullable: true Alias: description: Alias type: string + x-nullable: true Auth0UserID: description: Auth0 User Id type: string + x-nullable: true CommunityNickname: description: Nickname type: string + x-nullable: true CompanyName: description: Company Name type: string + x-nullable: true ContactID: description: Contact type: string + x-nullable: true CreatedByID: description: Created User ID type: string + x-nullable: true CreatedDate: description: Date Created type: string + x-nullable: true DelegatedApproverID: description: Delegated Approver type: string + x-nullable: true Department: description: Department type: string + x-nullable: true Division: description: Division type: string + x-nullable: true Email: description: Email address type: string + x-nullable: true EmployeeNumber: description: Employee Number type: string + x-nullable: true EndOfDay: description: Time day ends type: string + x-nullable: true Environment: description: Environment type: string + x-nullable: true Extension: description: Extension type: string - FabricAPIKey: - description: Fabric API Key - type: string + x-nullable: true Fax: description: Fax type: string + x-nullable: true FirstName: description: The first name type: string + x-nullable: true ForecastEnabled: description: Allow Forecasting type: boolean + x-nullable: true FullPhotoURL: description: Full Photo URL type: string + x-nullable: true GitHub: description: GitHub type: string + x-nullable: true ID: description: Record ID type: string IsActive: description: Active type: boolean + x-nullable: true IsPortalEnabled: description: Is the user enabled for Communities? type: boolean - IsProphilePhotoActive: - description: Has Profile Photo - type: boolean + x-nullable: true IsSystemControlled: type: boolean + x-nullable: true LastIP: description: IP address of last login type: string + x-nullable: true LastLogin: description: Last login time type: string + x-nullable: true LastModifiedByID: description: Last Modified User ID type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string + x-nullable: true LastName: description: The Last Name type: string + x-nullable: true LinkedIn: description: LinkedIn type: string + x-nullable: true LoginCount: description: Number of times user has logged in format: int64 type: number + x-nullable: true ManagerID: description: Manager type: string + x-nullable: true MobilePhone: description: Mobile type: string + x-nullable: true Name: description: Name type: string + x-nullable: true OutOfOfficeMessage: description: Out of office message type: string + x-nullable: true Phone: description: Phone type: string + x-nullable: true PortalRole: description: Portal Role Level type: string + x-nullable: true ProfileID: description: Profile type: string + x-nullable: true ReceivesAdminEmails: description: Info Emails type: boolean - ReceivesAdminInfoEmails: - description: Admin Info Emails - type: boolean + x-nullable: true SenderEmail: description: Email Sender Address type: string + x-nullable: true SenderName: description: Email Sender Name type: string - Signature: - description: Email Signature - type: string + x-nullable: true SmallPhotoURL: description: Small Photo URL type: string + x-nullable: true StartOfDay: description: The time day starts type: string + x-nullable: true Status: description: Onboarding Status type: string + x-nullable: true TaxnexusAccount: description: Account type: string + x-nullable: true TenantID: description: Tenant ID associated with this user type: string + x-nullable: true TenantUsers: items: $ref: "#/definitions/TenantUser" type: array + x-nullable: true TimeZone: description: Time Zone type: string + x-nullable: true Title: description: Title type: string + x-nullable: true Twitter: description: Twitter type: string + x-nullable: true UserRoleID: description: Role type: string + x-nullable: true UserRoles: items: $ref: "#/definitions/UserRole" type: array + x-nullable: true UserType: description: User Type type: string + x-nullable: true Username: description: Username type: string + x-nullable: true type: object UserRequest: properties: @@ -3166,42 +3410,55 @@ definitions: AccountID: description: Account Id type: string + x-nullable: true Auth0RoleID: description: Linked role ID type: string + x-nullable: true Auth0UserID: description: Auth0 User ID type: string + x-nullable: true CompanyName: description: Company Name type: string + x-nullable: true ContactID: description: Contact ID type: string + x-nullable: true RoleDescription: description: Role description type: string + x-nullable: true RoleID: description: The Role ID type: string + x-nullable: true RoleName: description: Role Name type: string + x-nullable: true TaxnexusAccount: description: Account Number type: string + x-nullable: true UserEmail: description: User Email Address type: string + x-nullable: true UserFullName: description: User Full Name type: string + x-nullable: true UserID: description: The User ID type: string + x-nullable: true Username: description: Username type: string + x-nullable: true type: object WebhookClerkRequest: description: Clerk webhook object @@ -3220,19 +3477,23 @@ definitions: properties: external_id: type: string + x-nullable: true description: |- The ID of the user as used in your external systems or your previous authentication solution. Must be unique across your instance. first_name: type: string + x-nullable: true description: The first name to assign to the user last_name: type: string + x-nullable: true description: The last name to assign to the user email_address: type: array items: type: string + x-nullable: true description: |- Email addresses to add to the user. Must be unique across your instance. @@ -3241,6 +3502,7 @@ definitions: type: array items: type: string + x-nullable: true description: |- Phone numbers to add to the user. Must be unique across your instance. @@ -3249,28 +3511,33 @@ definitions: type: array items: type: string + x-nullable: true description: |- Web3 wallets to add to the user. Must be unique across your instance. The first wallet will be set as the user's primary wallet. username: type: string + x-nullable: true description: |- The username to give to the user. It must be unique across your instance. password: type: string + x-nullable: true description: |- The plaintext password to give the user. Must be at least 8 characters long, and can not be in any list of hacked passwords. password_digest: type: string + x-nullable: true description: |- In case you already have the password digests and not the passwords, you can use them for the newly created user via this property. The digests should be generated with one of the supported algorithms. The hashing algorithm can be specified using the `password_hasher` property. password_hasher: type: string + x-nullable: true description: |- 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. @@ -3367,6 +3634,7 @@ definitions: Please note that you cannot use this flag if password is the only way for a user to sign into your instance. totp_secret: type: string + x-nullable: true description: |- In case TOTP is configured on the instance, you can provide the secret to enable it on the newly created user without the need to reset it. Please note that currently the supported options are: @@ -3377,6 +3645,7 @@ definitions: type: array items: type: string + x-nullable: true description: |- If Backup Codes are configured on the instance, you can provide them to enable it on the newly created user without the need to reset them. You must provide the backup codes in plain format or the corresponding bcrypt digest. @@ -3395,6 +3664,7 @@ definitions: Note: Since this data can be modified from the frontend, it is not guaranteed to be safe. created_at: type: string + x-nullable: true description: 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`). WebhookClerkResponse: @@ -3402,9 +3672,11 @@ definitions: properties: object: type: string + x-nullable: true type: description: Clerk Name type: string + x-nullable: true data: type: object type: object diff --git a/swagger/research-vernonkeenan.yaml b/swagger/research-vernonkeenan.yaml index e4cdfa3..a3214cf 100644 --- a/swagger/research-vernonkeenan.yaml +++ b/swagger/research-vernonkeenan.yaml @@ -960,87 +960,131 @@ definitions: City: description: City type: string + x-nullable: true Country: description: Country full name type: string + x-nullable: true CountryCode: description: Country Code type: string + x-nullable: true PostalCode: description: Postal Code type: string + x-nullable: true State: description: State full name type: string + x-nullable: true StateCode: description: State Code type: string + x-nullable: true Street: description: Street number and name type: string + x-nullable: true + type: object + CompanyCategory: + properties: + CloudType: + description: The Type of Cloud Company + type: string + Count: + description: The number of companies + type: number + type: object + CompanyCategoryResponse: + description: An array of CompanyCategory objects produced in response to a request + properties: + Data: + items: + $ref: "#/definitions/CompanyCategory" + type: array + Meta: + $ref: "#/definitions/ResponseMeta" type: object CompanyProduct: description: A software product or service vended by a Company properties: - ID: - description: Record Id - type: string AccountID: description: ID of the Company that owns this Product type: string + x-nullable: true CreatedByID: description: Created By User ID type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true Description: description: Description of product type: string + x-nullable: true FullDescription: description: Full Description of product type: string + x-nullable: true + ID: + description: Record Id + type: string ImageAltText: description: Image Alt Text type: string + x-nullable: true ImageURL: description: Image URL type: string + x-nullable: true Industries: description: Industries - type: array items: $ref: "#/definitions/Industry" + type: array + x-nullable: true LastModifiedByID: description: Last Modified By User ID type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string + x-nullable: true Logo: description: Logo type: string + x-nullable: true Name: description: Product Name type: string + x-nullable: true ProductVideoID: description: Product Video ID type: string + x-nullable: true Published: description: Published type: boolean + x-nullable: true SalesforceSpecific: description: Salesforce Specific type: boolean + x-nullable: true Slug: description: Slug type: string + x-nullable: true TagLine: description: TagLine type: string + x-nullable: true URL: description: Website type: string + x-nullable: true type: object CompanyProductRequest: description: An array of CompanyProduct objects submitted for processing @@ -1070,42 +1114,51 @@ definitions: $ref: "#/definitions/ResponseMeta" type: object Error: - $ref: "../../lib/swagger/defs/error.yaml#/Error" + $ref: ../../lib/swagger/defs/error.yaml#/Error Factor: description: A Factor of analysis within a research topic properties: - ID: - description: Record Id - type: string CreatedByID: description: Created By User ID type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true Description: description: Topic Description type: string + x-nullable: true + ID: + description: Record Id + type: string LastModifiedByID: description: Last Modified By User ID type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string + x-nullable: true Name: description: Factor Name type: string + x-nullable: true Observations: description: The list of Observations used to analyze this industry items: $ref: "#/definitions/Observation" type: array + x-nullable: true Slug: description: The slug of the corresponding page on the CMS type: string + x-nullable: true TopicID: description: The ID of the Topic that owns this Factor type: string + x-nullable: true type: object FactorRequest: description: An array of Factor objects submitted for processing @@ -1126,57 +1179,72 @@ definitions: $ref: "#/definitions/ResponseMeta" type: object FinancialStatement: - type: object description: A financial statement for a company properties: - ID: - description: Record Id - type: string AccessNumber: description: EDGAR Access Number type: string + x-nullable: true AccountID: description: Account ID type: string + x-nullable: true CloudRevenue: description: Cloud Revenue type: number + x-nullable: true CreatedByID: description: Created By User ID type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true Description: description: Description type: string + x-nullable: true EdgarURL: description: EDGAR URL type: string + x-nullable: true FilingType: description: Filing Type type: string + x-nullable: true GrossProfit: description: Gross Profit type: number + x-nullable: true + ID: + description: Record Id + type: string LastModifiedByID: description: Last Modified By User ID type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string + x-nullable: true NetIncome: description: Net Income type: number + x-nullable: true PeriodEndDate: description: Period End Date type: string + x-nullable: true TotalRevenue: description: Total Revenue type: number + x-nullable: true Year: description: Year type: string + x-nullable: true + type: object FinancialStatementRequest: description: An array of FinancialStatement objects submitted for processing properties: @@ -1198,84 +1266,107 @@ definitions: Industry: description: An industry that is being researched properties: - ID: - description: Record Id - type: string CompanyProducts: description: The list of Products in this industry items: $ref: "#/definitions/CompanyProduct" type: array + x-nullable: true CreatedByID: description: Created By User ID type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true Description: description: Industry Description type: string + x-nullable: true + ID: + description: Record Id + type: string ImageAltText: description: Image Alt Text type: string + x-nullable: true ImageURL: description: Image URL type: string + x-nullable: true LastModifiedByID: description: Last Modified By User ID type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string + x-nullable: true Level: description: The hierarchical level of this Industry type: string + x-nullable: true Logo: description: Logo type: string + x-nullable: true Name: description: Industry Name type: string + x-nullable: true ParentIndustryID: description: The ID of the Parent Industry type: string + x-nullable: true Path: description: The full path of this industry, including Parent type: string + x-nullable: true ProductCategory: description: Is this industry a product category? type: boolean + x-nullable: true Slug: description: The CMS Slug for this Industry type: string + x-nullable: true TagLine: description: TagLine type: string + x-nullable: true type: object IndustryCompany: description: Junction object between Industry and Company properties: - ID: - description: Record Id - type: string AccountID: type: string + x-nullable: true CreatedByID: description: Created By User ID type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true + ID: + description: Record Id + type: string IndustryID: type: string + x-nullable: true LastModifiedByID: description: Last Modified By User ID type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string + x-nullable: true Path: type: string + x-nullable: true type: object IndustryCompanyRequest: description: An array of IndustryCompany objects submitted for processing @@ -1300,25 +1391,32 @@ definitions: properties: CompanyProductID: type: string + x-nullable: true CreatedByID: description: Created By User ID type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true HTML: type: string + x-nullable: true ID: description: Record Id type: string IndustryID: type: string + x-nullable: true LastModifiedByID: description: Last Modified By User ID type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string + x-nullable: true type: object IndustryProductRequest: description: An array of IndustryProduct objects submitted for processing @@ -1378,39 +1476,49 @@ definitions: Observation: description: A data point collected while analyzing a Factor properties: - ID: - description: Record Id - type: string AccountID: description: The ID of the Company being analyzed type: string + x-nullable: true CompanyProductID: description: The ID of the Product being analyzed type: string + x-nullable: true CreatedByID: description: Created By User ID type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true Description: description: Notes concerning data collection type: string + x-nullable: true FactorID: description: The ID of the Factor that owns this Observation type: string + x-nullable: true + ID: + description: Record Id + type: string LastModifiedByID: description: Last Modified By User ID type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string + x-nullable: true SubjectType: description: Is the subject a Company or a Product? type: string + x-nullable: true Value: description: The data point collected type: string + x-nullable: true type: object ObservationRequest: description: An array of Observation objects submitted for processing @@ -1494,38 +1602,47 @@ definitions: Topic: description: A research topic that collects data properties: - ID: - description: Record Id - type: string CreatedByID: description: Created By User ID type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true Description: description: Topic Description type: string + x-nullable: true Factors: description: The list of Factors used to analyze this industry items: $ref: "#/definitions/Factor" type: array + x-nullable: true + ID: + description: Record Id + type: string LastModifiedByID: description: Last Modified By User ID type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string + x-nullable: true Name: description: Topic Name type: string + x-nullable: true ParentTopicID: description: The ID of the Parent Topic type: string + x-nullable: true Slug: description: The CMS Slug for this Topic type: string + x-nullable: true type: object TopicRequest: description: An array of Topic objects submitted for processing @@ -1545,22 +1662,3 @@ definitions: Meta: $ref: "#/definitions/ResponseMeta" type: object - CompanyCategory: - properties: - CloudType: - description: The Type of Cloud Company - type: string - Count: - description: The number of companies - type: number - type: object - CompanyCategoryResponse: - description: An array of CompanyCategory objects produced in response to a request - properties: - Data: - items: - $ref: "#/definitions/CompanyCategory" - type: array - Meta: - $ref: "#/definitions/ResponseMeta" - type: object diff --git a/swagger/sf-gate-vernonkeenan.yaml b/swagger/sf-gate-vernonkeenan.yaml index 461550b..edd4e9c 100644 --- a/swagger/sf-gate-vernonkeenan.yaml +++ b/swagger/sf-gate-vernonkeenan.yaml @@ -293,6 +293,7 @@ responses: headers: Access-Control-Allow-Origin: type: string + x-nullable: true schema: $ref: "#/definitions/Error" AccountResponse: @@ -332,6 +333,7 @@ responses: headers: Access-Control-Allow-Origin: type: string + x-nullable: true schema: $ref: "#/definitions/DeleteResponse" FactorResponse: @@ -355,6 +357,7 @@ responses: headers: Access-Control-Allow-Origin: type: string + x-nullable: true schema: $ref: "#/definitions/InvalidError" NotFound: @@ -362,6 +365,7 @@ responses: headers: Access-Control-Allow-Origin: type: string + x-nullable: true schema: $ref: "#/definitions/Error" ObservationResponse: @@ -381,6 +385,7 @@ responses: headers: Access-Control-Allow-Origin: type: string + x-nullable: true schema: $ref: "#/definitions/Error" TemplateResponse: @@ -400,6 +405,7 @@ responses: headers: Access-Control-Allow-Origin: type: string + x-nullable: true schema: $ref: "#/definitions/Error" UnprocessableEntity: @@ -407,6 +413,7 @@ responses: headers: Access-Control-Allow-Origin: type: string + x-nullable: true schema: $ref: "#/definitions/Error" UserResponse: @@ -1455,163 +1462,217 @@ definitions: AccountNumber: description: Account Number type: string + x-nullable: true AccountSource: description: The marketing origin of this account type: string + x-nullable: true Active: type: boolean + x-nullable: true AnnualRevenue: description: Annual Revenue Estimate format: double type: number + x-nullable: true BillingAddress: $ref: "#/definitions/Address" + x-nullable: true BillingContactID: description: Contact ID type: string - CloseDate: - description: Close Date + x-nullable: true + ClosedDate: + description: Closed Date type: string + x-nullable: true CloudRevenueTotal: type: number + x-nullable: true CloudType: description: The type of cloud company type: string + x-nullable: true CloudYear: description: The year company started cloud revenue type: string + x-nullable: true CreatedByID: description: Created By User ID type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true CrunchbaseURL: description: Crunchbase URL type: string + x-nullable: true Description: description: Description of the account type: string + x-nullable: true EIN: type: string + x-nullable: true EarningsCall: description: Earnings Call Date type: string + x-nullable: true Email: description: Main Account Email type: string + x-nullable: true EquityFunding: description: The amount of equity EquityFunding type: number + x-nullable: true Facebook: description: Company Facebook URL type: string + x-nullable: true Fax: description: Fax number type: string + x-nullable: true FoundedDate: description: Date company founded type: string + x-nullable: true ID: - description: Taxnexus Account Id + description: Account Id type: string IPODate: description: IPO Date type: string + x-nullable: true ImageAltText: type: string + x-nullable: true ImageURL: type: string + x-nullable: true Industries: description: Industries type: string + x-nullable: true Industry: description: Industry type: string + x-nullable: true LastModifiedByID: description: Last Modified By User ID type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string + x-nullable: true LinkedIn: description: Company LinkedIn URL type: string + x-nullable: true Location: description: Headquarters Location Description type: string + x-nullable: true Logo: description: Company Logo URL type: string + x-nullable: true MarketCapitalization: description: Market Capitalization type: number + x-nullable: true Name: description: Account Name type: string + x-nullable: true NumberInvestments: description: Number of Investments type: number + x-nullable: true NumberOfEmployees: description: Employee Count Estimate format: int64 type: number + x-nullable: true OwnerID: description: Account Owner User ID type: string + x-nullable: true Ownership: description: Ownership type: string + x-nullable: true ParentID: description: Parent Account type: string + x-nullable: true Phone: description: Phone type: string + x-nullable: true Publish: description: Publish this record? type: boolean + x-nullable: true SIC: description: SIC Code type: string + x-nullable: true SICDesc: description: SIC Description type: string + x-nullable: true SalesforceFirst: description: A Salesforce-First company? type: boolean + x-nullable: true ShippingAddress: $ref: "#/definitions/Address" + x-nullable: true ShippingContactID: description: Shipping Contact ID type: string + x-nullable: true Site: description: Account Site type: string + x-nullable: true Slug: description: Slug type: string + x-nullable: true TagLine: description: Company tagline type: string + x-nullable: true TenantID: description: Tenant Identifier type: string + x-nullable: true TickerSymbol: description: Ticker Symbol type: string + x-nullable: true Twitter: description: Twitter URL type: string + x-nullable: true Type: description: Type type: string + x-nullable: true Website: description: Website type: string + x-nullable: true YearStarted: description: Year Started type: string + x-nullable: true type: object AccountRequest: properties: @@ -1637,164 +1698,216 @@ definitions: City: description: City type: string + x-nullable: true Country: description: Country full name type: string + x-nullable: true CountryCode: description: Country Code type: string + x-nullable: true PostalCode: description: Postal Code type: string + x-nullable: true State: description: State full name type: string + x-nullable: true StateCode: description: State Code type: string + x-nullable: true Street: description: Street number and name type: string + x-nullable: true type: object Asset: properties: AccountID: description: Account type: string + x-nullable: true Address: $ref: "#/definitions/Address" + x-nullable: true AssetLevel: description: Asset Level type: number + x-nullable: true AssetProvidedByID: description: Asset Provided By type: string + x-nullable: true AssetServicedByID: description: Asset Serviced By type: string + x-nullable: true CompanyProductID: description: Company Product type: string + x-nullable: true ConsequenceOfFailure: description: Consequence Of Failure type: string + x-nullable: true ContactID: description: Contact type: string + x-nullable: true CreatedByID: description: Created By type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true CurrentAmount: description: Current Amount type: number + x-nullable: true CurrentLifecycleEndDate: description: Current Lifecycle End Date type: string + x-nullable: true CurrentMrr: description: Current Monthly Recurring Revenue type: number + x-nullable: true CurrentQuantity: description: Current Quantity type: number + x-nullable: true Description: description: Description type: string + x-nullable: true DigitalAssetStatus: description: Digital Asset Status type: string + x-nullable: true ExternalIdentifier: description: External Id type: string + x-nullable: true HasLifecycleManagement: description: Has Lifecycle Management type: boolean + x-nullable: true ID: description: Record Id type: string InstallDate: description: Install Date type: string + x-nullable: true IsCompetitorProduct: description: Competitor Asset type: boolean + x-nullable: true IsInternal: description: Internal Asset type: boolean + x-nullable: true LastModifiedByID: description: Last Modified By type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string + x-nullable: true LocationID: description: Location type: string + x-nullable: true MIMEType: description: MIME Type type: string + x-nullable: true ManufactureDate: description: Manufacture Date type: string + x-nullable: true Name: description: Asset Name type: string + x-nullable: true ParentID: description: Parent Asset type: string + x-nullable: true Price: description: Price type: number + x-nullable: true Product2ID: description: Product type: string + x-nullable: true ProductCode: description: Product Code type: string + x-nullable: true ProductDescription: description: Product Description type: string + x-nullable: true ProductFamily: description: Product Family type: string + x-nullable: true PurchaseDate: description: Purchase Date type: string + x-nullable: true Quantity: description: Quantity type: number + x-nullable: true RootAssetID: description: Root Asset type: string + x-nullable: true SerialNumber: description: Serial Number type: string + x-nullable: true Status: description: Status type: string + x-nullable: true StatusReason: description: Status Reason type: string + x-nullable: true StockKeepingUnit: description: Product SKU type: string + x-nullable: true TenantID: description: Tenant ID type: string + x-nullable: true TotalLifecycleAmount: description: Total Lifecycle Amount type: number + x-nullable: true Type: description: Type type: string + x-nullable: true URL: description: URL type: string + x-nullable: true UsageEndDate: description: Usage End Date type: string + x-nullable: true type: object AssetRequest: description: An array of Asset objects @@ -1819,54 +1932,70 @@ definitions: CreatedByID: description: Created By type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true Description: description: Description type: string + x-nullable: true Environment: description: Environment type: string + x-nullable: true Gateway: description: Gateway type: string + x-nullable: true ID: description: Record Id type: string IpAddress: description: IP Address type: string + x-nullable: true LastModifiedByID: description: Last Modified By type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string + x-nullable: true Name: description: Cluster Name type: string + x-nullable: true OwnerID: description: Owner type: string + x-nullable: true Ref: description: External Reference type: string + x-nullable: true Status: description: Status type: string + x-nullable: true Subnet: description: Subnet type: string + x-nullable: true TenantID: description: tenantid type: string + x-nullable: true Type: description: Type type: string + x-nullable: true Zone: description: Zone type: string + x-nullable: true type: object ClusterRequest: properties: @@ -1898,54 +2027,70 @@ definitions: CreatedByID: description: Created By User ID type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true Description: description: Description of product type: string + x-nullable: true FullDescription: description: Full Description of product type: string + x-nullable: true ID: description: Record Id type: string ImageAltText: description: Image Alt Text type: string + x-nullable: true ImageURL: description: Image URL type: string + x-nullable: true LastModifiedByID: description: Last Modified By User ID type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string + x-nullable: true Logo: description: Logo type: string + x-nullable: true Name: description: Product Name type: string + x-nullable: true ProductVideoID: description: Product Video ID type: string + x-nullable: true Published: description: Published type: boolean + x-nullable: true SalesforceSpecific: description: Salesforce Specific type: boolean + x-nullable: true Slug: description: Slug type: string + x-nullable: true TagLine: description: TagLine type: string + x-nullable: true URL: description: Website type: string + x-nullable: true type: object CompanyProductRequest: properties: @@ -1972,125 +2117,164 @@ definitions: AccountID: description: The primary account ID of this contact type: string + x-nullable: true AssistantName: description: Assistant Name type: string + x-nullable: true AssistantPhone: description: Asst. Phone type: string + x-nullable: true BirthDate: description: Birthdate type: string + x-nullable: true CreatedByID: description: Created By User ID type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true CrunchbaseURL: description: Crunchbase URL type: string + x-nullable: true Department: description: Department type: string + x-nullable: true Description: description: Description type: string + x-nullable: true DoNotCall: description: Do Not Call? type: boolean + x-nullable: true Email: description: Email address type: string + x-nullable: true EmailBounceDate: description: Email Bounce Date type: string + x-nullable: true EmailBounceReason: description: Email Bounce Reason type: string + x-nullable: true Facebook: description: Fax Number type: string + x-nullable: true Fax: type: string + x-nullable: true FirstName: description: First Name type: string + x-nullable: true HasOptedOutOfEmail: description: Email Opt Out type: boolean + x-nullable: true HasOptedOutOfFax: description: Fax Opt Out type: boolean + x-nullable: true HomePhone: description: Home Phone type: string + x-nullable: true ID: description: Record Id type: string IsEmailBounced: description: Does this contact have bounced emails? type: boolean + x-nullable: true LastModifiedByID: description: Last Modified By User ID type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string + x-nullable: true LastName: description: Last Name type: string + x-nullable: true LeadSource: description: Lead Source type: string + x-nullable: true LinkedIn: description: LinkedIn Page type: string + x-nullable: true MailingAddress: $ref: "#/definitions/Address" MobilePhone: description: Mobile Phone type: string + x-nullable: true Name: description: Full Name type: string + x-nullable: true NumberInvestments: description: Number of Investments type: number + x-nullable: true OtherAddress: $ref: "#/definitions/Address" OtherPhone: description: Other Phone type: string + x-nullable: true OwnerID: description: The User ID of the user who owns this Contact type: string + x-nullable: true PersonalEmail: description: Personal Email Address for this Contact type: string + x-nullable: true Phone: description: Phone Number type: string + x-nullable: true PhotoURL: description: URL of a photograph of this User type: string + x-nullable: true ReportsToID: description: Reports To User ID type: string + x-nullable: true Salutation: description: Salutation type: string + x-nullable: true Slug: description: Slug type: string + x-nullable: true TenantID: description: tenant identifier type: string + x-nullable: true Title: description: Contact Title type: string + x-nullable: true Twitter: type: string + x-nullable: true type: object ContactRequest: properties: @@ -2117,96 +2301,124 @@ definitions: AccountID: description: Account type: string + x-nullable: true ActivatedByID: description: Activated By type: string + x-nullable: true ActivatedDate: description: Activated Date type: string + x-nullable: true BillingAddress: $ref: "#/definitions/Address" description: Billing Address BillingContactID: description: Billing Contact type: string + x-nullable: true CompanySignedDate: description: Company Signed Date type: string + x-nullable: true CompanySignedID: description: Company Signed By type: string + x-nullable: true ContractNumber: description: Contract Number type: string + x-nullable: true ContractTerm: description: Contract Term (months) type: number + x-nullable: true CreatedByID: description: Created By User ID type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true CustomerSignedDate: description: Customer Signed Date type: string + x-nullable: true CustomerSignedID: description: Customer Signed By type: string + x-nullable: true CustomerSignedTitle: description: Customer Signed Title type: string + x-nullable: true DefaultEndUserID: description: End User type: string + x-nullable: true Description: description: Description type: string + x-nullable: true EndDate: description: Contract End Date type: string + x-nullable: true EndUserID: description: End User type: string + x-nullable: true HourlyRate: description: Hourly Rate type: number + x-nullable: true ID: description: Telnexus Record Id type: string LastModifiedByID: description: Last Modified By User ID type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string + x-nullable: true Name: description: Contract Name type: string + x-nullable: true PaymentMethodID: description: Payment Method type: string + x-nullable: true PaymentTerms: description: Payment Terms type: string + x-nullable: true Perpetual: description: Perpetual Agreement? type: boolean + x-nullable: true ShippingAddress: $ref: "#/definitions/Address" description: Shipping Address ShippingContactID: description: Shipping Contact type: string + x-nullable: true StartDate: description: Contract Start Date type: string + x-nullable: true Status: description: Status type: string + x-nullable: true TenantID: description: Tenant Identifier type: string + x-nullable: true type: object ContractRequest: properties: @@ -2230,42 +2442,54 @@ definitions: Active: description: Is this database active? type: boolean + x-nullable: true ClusterID: description: The ID of the Cluster in which this database is deployed type: string + x-nullable: true CreatedByID: description: Created By type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true DSN: description: Database connection string type: string + x-nullable: true DatabaseName: description: The name of the physical database in the cluster type: string + x-nullable: true ID: description: Record Id type: string LastModifiedByID: description: Last Modified By type: string + x-nullable: true LastModifiedDate: description: Last Modifed Date type: string + x-nullable: true Microservices: description: List of microservices implemented by this Database type: string + x-nullable: true Status: description: The current status of this Tenant type: string + x-nullable: true TenantID: description: The ID of the tenant who owns this Database type: string + x-nullable: true Type: description: The type of Database (mysql, etc) type: string + x-nullable: true type: object DatabaseRequest: description: An array of Database objects @@ -2312,35 +2536,44 @@ definitions: CreatedByID: description: Created By User ID type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true Description: description: Topic Description type: string + x-nullable: true ID: description: Record Id type: string LastModifiedByID: description: Last Modified By User ID type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string + x-nullable: true Name: description: Factor Name type: string + x-nullable: true Observations: description: The list of Observations used to analyze this industry items: $ref: "#/definitions/Observation" type: array + x-nullable: true Slug: description: The slug of the corresponding page on the CMS type: string + x-nullable: true TopicID: description: The ID of the Topic that owns this Factor type: string + x-nullable: true type: object FactorRequest: description: An array of Factor objects submitted for processing @@ -2366,51 +2599,66 @@ definitions: AccessNumber: description: EDGAR Access Number type: string + x-nullable: true AccountID: description: Account ID type: string + x-nullable: true CloudRevenue: description: Cloud Revenue type: number + x-nullable: true CreatedByID: description: Created By User ID type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true Description: description: Description type: string + x-nullable: true EdgarURL: description: EDGAR URL type: string + x-nullable: true FilingType: description: Filing Type type: string + x-nullable: true GrossProfit: description: Gross Profit type: number + x-nullable: true ID: description: Record Id type: string LastModifiedByID: description: Last Modified By User ID type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string + x-nullable: true NetIncome: description: Net Income type: number + x-nullable: true PeriodEndDate: description: Period End Date type: string + x-nullable: true TotalRevenue: description: Total Revenue type: number + x-nullable: true Year: description: Year type: string + x-nullable: true type: object FinancialStatementRequest: description: An array of FinancialStatement objects submitted for processing @@ -2437,6 +2685,7 @@ definitions: description: The AccountIDs of the Companies in this Industry items: type: string + x-nullable: true type: array CompanyProducts: description: The list of Products in this industry @@ -2446,79 +2695,102 @@ definitions: CreatedByID: description: Created By User ID type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true Description: description: Industry Description type: string + x-nullable: true ID: description: Record Id type: string ImageAltText: description: Image Alt Text type: string + x-nullable: true ImageURL: description: Image URL type: string + x-nullable: true LastModifiedByID: description: Last Modified By User ID type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string + x-nullable: true Level: description: The hierarchical level of this Industry type: string + x-nullable: true Logo: description: Logo type: string + x-nullable: true Name: description: Industry Name type: string + x-nullable: true ParentIndustryID: description: The ID of the Parent Industry type: string + x-nullable: true Path: description: The full path of this industry, including Parent type: string + x-nullable: true ProductCategory: description: Is this industry a Product Category? type: boolean + x-nullable: true SiteURL: description: The URL of the corresponding page on the CMS type: string + x-nullable: true Slug: description: The CMS Slug for this Industry type: string + x-nullable: true TagLine: description: TagLine type: string + x-nullable: true type: object IndustryCompany: description: Junction object between Industry and Company properties: CompanyID: type: string + x-nullable: true CreatedByID: description: Created By User ID type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true ID: description: Record Id type: string IndustryID: type: string + x-nullable: true LastModifiedByID: description: Last Modified By User ID type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string + x-nullable: true Path: type: string + x-nullable: true type: object IndustryCompanyRequest: description: An array of IndustryCompany objects submitted for processing @@ -2545,12 +2817,15 @@ definitions: $ref: "#/definitions/CompanyProduct" CompanyProductID: type: string + x-nullable: true CreatedByID: description: Created By User ID type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true ID: description: Record Id type: string @@ -2558,12 +2833,15 @@ definitions: $ref: "#/definitions/Industry" IndustryID: type: string + x-nullable: true LastModifiedByID: description: Last Modified By User ID type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string + x-nullable: true type: object IndustryProductRequest: description: An array of IndustryProduct objects submitted for processing @@ -2616,6 +2894,7 @@ definitions: type: string ref: type: string + x-nullable: true status: format: int64 type: number @@ -2626,36 +2905,46 @@ definitions: AccountID: description: The ID of the Company being analyzed type: string + x-nullable: true CompanyProductID: description: The ID of the Product being analyzed type: string + x-nullable: true CreatedByID: description: Created By User ID type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true Description: description: Notes concerning data collection type: string + x-nullable: true FactorID: description: The ID of the Factor that owns this Observation type: string + x-nullable: true ID: description: Record Id type: string LastModifiedByID: description: Last Modified By User ID type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string + x-nullable: true SubjectType: description: Is the subject a Company or a Product? type: string + x-nullable: true Value: description: The data point collected type: string + x-nullable: true type: object ObservationRequest: description: An array of Observation objects submitted for processing @@ -2695,8 +2984,6 @@ definitions: TaxnexusAccount: description: Account Number of the Reseller or OEM type: string - required: - - TaxnexusAccount type: object ResponseMeta: properties: @@ -2742,30 +3029,38 @@ definitions: Auth0RoleID: description: the corresponding auth0 role type: string + x-nullable: true "CreatedByID:": description: created by type: string + x-nullable: true CreatedDate: description: created date type: string + x-nullable: true Description: description: role description type: string + x-nullable: true ID: description: record id type: string LastModifiedByID: description: last modified by type: string + x-nullable: true LastModifiedDate: description: last modifed date type: string + x-nullable: true RoleName: description: the name of this role type: string + x-nullable: true TenantID: description: the id of the tenant that owns this role type: string + x-nullable: true type: object RoleRequest: description: An array of Role objects @@ -2807,46 +3102,60 @@ definitions: properties: CreatedByID: type: string + x-nullable: true CreatedDate: type: string + x-nullable: true Description: description: Description type: string + x-nullable: true HTML: description: HTML Body format: byte type: string + x-nullable: true ID: description: Record Id type: string IsActive: description: Active? type: boolean + x-nullable: true IsMaster: description: Master Template? type: boolean + x-nullable: true LastModifiedByID: type: string + x-nullable: true LastModifiedDate: type: string + x-nullable: true Name: description: Template Name type: string + x-nullable: true ObjectType: description: Object type: string + x-nullable: true RecordTypeName: description: Record Type Name type: string + x-nullable: true TenantID: description: tenant identifier type: string + x-nullable: true Type: description: Type type: string + x-nullable: true URL: description: URL type: string + x-nullable: true type: object TemplateResponse: properties: @@ -2863,15 +3172,19 @@ definitions: AccountID: description: The Account that owns this Tenant type: string + x-nullable: true Active: description: Is this Tenant currently active? type: boolean + x-nullable: true CreatedByID: description: Created By type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true Databases: items: $ref: "#/definitions/Database" @@ -2882,9 +3195,11 @@ definitions: LastModifiedByID: description: Last Modified By type: string + x-nullable: true LastModifiedDate: description: Last Modifed Date type: string + x-nullable: true Roles: items: $ref: "#/definitions/Role" @@ -2892,9 +3207,11 @@ definitions: Status: description: The current status of this Tenant type: string + x-nullable: true TenantName: description: Name of the Tenant Resource type: string + x-nullable: true TenantUsers: items: $ref: "#/definitions/TenantUser" @@ -2902,9 +3219,11 @@ definitions: Type: description: Type of tenant type: string + x-nullable: true Version: description: The version number of the Tenant Onboarding system used to create this tenant type: string + x-nullable: true type: object TenantRequest: description: An array of Tenant objects @@ -2929,13 +3248,13 @@ definitions: TenantUser: description: Relationship object that connects users to a tenant properties: - accesslevel: + AccessLevel: description: The Tenant access level for this User type: string - tenantid: + TemamtOD: description: The Tenant ID type: string - userid: + UserID: description: The User ID type: string type: object @@ -2945,35 +3264,44 @@ definitions: CreatedByID: description: Created By User ID type: string + x-nullable: true CreatedDate: description: Created Date type: string + x-nullable: true Description: description: Topic Description type: string + x-nullable: true Factors: description: The list of Factors used to analyze this industry items: $ref: "#/definitions/Factor" type: array + x-nullable: true ID: description: Record Id type: string LastModifiedByID: description: Last Modified By User ID type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string + x-nullable: true Name: description: Topic Name type: string + x-nullable: true ParentTopicID: description: The ID of the Parent Topic type: string + x-nullable: true Slug: description: The CMS Slug for this Topic type: string + x-nullable: true type: object TopicRequest: description: An array of Topic objects submitted for processing @@ -2998,199 +3326,263 @@ definitions: APIGatewayURL: description: API Gateway URL type: string + x-nullable: true APIGatewayUser: description: API Gateway User type: string + x-nullable: true APIKey: description: API Key type: string + x-nullable: true AboutMe: description: About Me type: string + x-nullable: true AccountID: description: Account ID type: string + x-nullable: true Address: $ref: "#/definitions/Address" + x-nullable: true Alias: description: Alias type: string + x-nullable: true Auth0UserID: description: Auth0 User Id type: string + x-nullable: true CommunityNickname: description: Nickname type: string + x-nullable: true CompanyName: description: Company Name type: string + x-nullable: true ContactID: description: Contact type: string + x-nullable: true CreatedByID: description: Created User ID type: string + x-nullable: true CreatedDate: description: Date Created type: string + x-nullable: true DelegatedApproverID: description: Delegated Approver type: string + x-nullable: true Department: description: Department type: string + x-nullable: true Division: description: Division type: string + x-nullable: true Email: description: Email address type: string + x-nullable: true EmployeeNumber: description: Employee Number type: string + x-nullable: true EndOfDay: description: Time day ends type: string + x-nullable: true Environment: description: Environment type: string + x-nullable: true Extension: description: Extension type: string + x-nullable: true FabricAPIKey: description: Fabric API Key type: string + x-nullable: true Fax: description: Fax type: string + x-nullable: true FirstName: description: The first name type: string + x-nullable: true ForecastEnabled: description: Allow Forecasting type: boolean + x-nullable: true FullPhotoURL: description: Full Photo URL type: string + x-nullable: true GitHub: description: GitHub type: string + x-nullable: true ID: description: Record ID type: string IsActive: description: Active type: boolean + x-nullable: true IsPortalEnabled: description: Is the user enabled for Communities? type: boolean + x-nullable: true IsProfilePhotoActive: description: Has Profile Photo type: boolean + x-nullable: true IsSystemControlled: type: boolean + x-nullable: true LastIP: description: IP address of last login type: string + x-nullable: true LastLogin: description: Last login time type: string + x-nullable: true LastModifiedByID: description: Last Modified User ID type: string + x-nullable: true LastModifiedDate: description: Last Modified Date type: string + x-nullable: true LastName: description: The Last Name type: string + x-nullable: true LinkedIn: description: LinkedIn type: string + x-nullable: true LoginCount: description: Number of times user has logged in format: int64 type: number + x-nullable: true ManagerID: description: Manager type: string + x-nullable: true MobilePhone: description: Mobile type: string + x-nullable: true Name: description: Name type: string + x-nullable: true OutOfOfficeMessage: description: Out of office message type: string + x-nullable: true Phone: description: Phone type: string + x-nullable: true PortalRole: description: Portal Role Level type: string + x-nullable: true ProfileID: description: Profile type: string + x-nullable: true ReceivesAdminEmails: description: Info Emails type: boolean + x-nullable: true ReceivesAdminInfoEmails: description: Admin Info Emails type: boolean + x-nullable: true ReceivesInfoEmails: description: Info Emails type: boolean + x-nullable: true SenderEmail: description: Email Sender Address type: string + x-nullable: true SenderName: description: Email Sender Name type: string + x-nullable: true Signature: description: Email Signature type: string + x-nullable: true SmallPhotoURL: description: Small Photo URL type: string + x-nullable: true StartOfDay: description: The time day starts type: string + x-nullable: true Status: description: Status type: string + x-nullable: true TaxnexusAccount: - description: Taxnexus Account + description: Account type: string + x-nullable: true TenantID: description: Tenant ID associated with this user type: string + x-nullable: true TenantUsers: items: $ref: "#/definitions/TenantUser" type: array + x-nullable: true TimeZone: description: Time Zone type: string + x-nullable: true Title: description: Title type: string + x-nullable: true Twitter: description: Twitter type: string + x-nullable: true UserRoleID: description: Role type: string + x-nullable: true UserRoles: items: $ref: "#/definitions/UserRole" type: array + x-nullable: true UserType: description: User Type type: string + x-nullable: true Username: description: Username type: string + x-nullable: true type: object UserRequest: description: An array of User Objects to post @@ -3215,13 +3607,16 @@ definitions: properties: Auth0roleID: type: string + x-nullable: true CreatedByID: type: string + x-nullable: true CreatedDate: type: string x-nullable: true Description: type: string + x-nullable: true ID: type: string # Industries: @@ -3231,13 +3626,17 @@ definitions: # $ref: "#/definitions/Industry" LastModifiedByID: type: string + x-nullable: true LastModifiedDate: type: string x-nullable: true Name: type: string + x-nullable: true RoleID: type: string + x-nullable: true UserID: type: string + x-nullable: true type: object